diff --git a/src/types/config.d.ts b/src/types/config.d.ts index 0179a39..da4cde8 100644 --- a/src/types/config.d.ts +++ b/src/types/config.d.ts @@ -4,9 +4,6 @@ export interface sernConfig { base: string; commands: string; }; - scripts?: { - prepublish?: string; - }; buildPath: string; rest?: Record>; } @@ -14,6 +11,6 @@ export interface sernConfig { export interface TheoreticalEnv { DISCORD_TOKEN: string; APPLICATION_ID?: string; - MODE: 'PROD' | 'DEV'; + MODE: 'production' | 'environment'; [name: string]: string; } diff --git a/templates/handler.js b/templates/handler.js deleted file mode 100644 index e69de29..0000000 diff --git a/tsup.config.ts b/tsup.config.ts index b9eb246..fbb520d 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -1,5 +1,6 @@ import { defineConfig } from 'tsup'; import { createRequire } from 'node:module'; + const shared = { entry: [ 'src/index.ts',