diff --git a/package.json b/package.json index 9c8f21e..f845ce5 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ } }, "scripts": { - "build": "tsup", + "build": "tsc", "lint:tsc": "tsc --noEmit", "clean:cache": "rm -f tsconfig.tsbuildinfo", "clean:dist": "rm -rf dist", diff --git a/tsconfig.json b/tsconfig.json index ef46c48..e46d674 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,9 +10,9 @@ // Bundler mode "moduleResolution": "bundler", - "allowImportingTsExtensions": true, + // "allowImportingTsExtensions": true, "verbatimModuleSyntax": true, - "noEmit": true, + // "noEmit": true, // Best practices "strict": true, @@ -22,7 +22,11 @@ // Some stricter flags (disabled by default) "noUnusedLocals": false, "noUnusedParameters": false, - "noPropertyAccessFromIndexSignature": false + "noPropertyAccessFromIndexSignature": false, + + // Build + "outDir": "./dist", + "declaration": true }, "include": ["./src"]