diff --git a/scripts/esbuild.config.mjs b/scripts/esbuild.config.mjs index 1175030..79ad8d3 100644 --- a/scripts/esbuild.config.mjs +++ b/scripts/esbuild.config.mjs @@ -38,6 +38,7 @@ const context = await esbuild.context({ sourcemap: prod ? false : "inline", treeShaking: true, outfile: "main.js", + minify: prod, }); if (prod) { diff --git a/tsconfig.json b/tsconfig.json index 8067d5d..78bf371 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "importHelpers": true, "isolatedModules": true, "esModuleInterop": true, - "strictNullChecks": true, + "strictNullChecks": true, "lib": [ "DOM", "ES5",