diff --git a/scripts/build.js b/scripts/build.js index 7e87b0c..15ada0a 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -76,10 +76,9 @@ await build({ format: "esm", logLevel: "info", bundle: true, + minify: true, sourcemap: true, jsxFactory: "createElement", jsxFragment: "Fragment", define, - // Required to remove dead-code (e.g. `if (false) { ... }`) - minifySyntax: removeDeployCode, });