diff --git a/package.json b/package.json index 11071f9..67edd6c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "main.js", "scripts": { "dev": "node esbuild.config.mjs", - "build": "node esbuild.config.mjs production" + "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production" }, "keywords": [], "author": "", diff --git a/tsconfig.json b/tsconfig.json index b61f304..b50f455 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "moduleResolution": "node", "importHelpers": true, + "isolatedModules": true, "lib": [ "DOM", "ES5",