diff --git a/src/ass.ts b/src/ass.ts index 6de1f8a..ac7de40 100644 --- a/src/ass.ts +++ b/src/ass.ts @@ -21,8 +21,8 @@ const { host, port, useSsl, isProxied, s3enabled, frontendName, indexFile, useSi //#region Imports import fs from 'fs-extra'; import express, { Request, Response, NextFunction } from 'express'; -const nofavicon = require('@tycrek/express-nofavicon'); -const epcss = require('@tycrek/express-postcss'); +import nofavicon from '@tycrek/express-nofavicon'; +import epcss from '@tycrek/express-postcss'; import tailwindcss from 'tailwindcss'; import helmet from 'helmet'; import uploadRouter from './routers/upload'; diff --git a/src/tycrek.d.ts b/src/tycrek.d.ts new file mode 100644 index 0000000..7a1beca --- /dev/null +++ b/src/tycrek.d.ts @@ -0,0 +1,2 @@ +declare module '@tycrek/express-postcss'; +declare module '@tycrek/express-nofavicon'; \ No newline at end of file