diff --git a/esbuild.mjs b/esbuild.mjs index de1601325..7f3d34d76 100644 --- a/esbuild.mjs +++ b/esbuild.mjs @@ -5,8 +5,6 @@ import svg from "esbuild-plugin-svg"; import fs from "fs"; import LessPluginCleanCSS from "less-plugin-clean-css"; -const watch = process.argv[2] === "--watch"; - const pkg = JSON.parse(fs.readFileSync("./package.json").toString()); // These are NPM packages that don't work with external bundlers without configuration. @@ -44,7 +42,6 @@ async function main() { target: "es2020", format: "esm", globalName: "UV", - watch, minify: true, external: [ ...Object.keys(pkg.dependencies).filter(