diff --git a/common/tsconfig.json b/common/tsconfig.json index 95f5641..2c7a111 100644 --- a/common/tsconfig.json +++ b/common/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { - "module": "commonjs", + "module": "NodeNext", + "moduleResolution": "NodeNext", "declaration": true, "removeComments": true, "emitDecoratorMetadata": true, @@ -10,7 +11,6 @@ "sourceMap": true, "outDir": "./dist", "baseUrl": "./", - "incremental": true, "skipLibCheck": true, "strictNullChecks": false, "noImplicitAny": false, diff --git a/common/tsup.config.ts b/common/tsup.config.ts index 0300243..639ed2d 100644 --- a/common/tsup.config.ts +++ b/common/tsup.config.ts @@ -5,4 +5,5 @@ export default defineConfig({ splitting: false, sourcemap: true, clean: true, + dts: true, // This line enables type declaration file generation });