From 515791484a3dd3f4a83261569b5f331416e9872a Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Thu, 19 Dec 2024 07:42:10 -0500 Subject: [PATCH] Remove no-longer-supported watch option. --- esbuild.mjs | 3 --- 1 file changed, 3 deletions(-) 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(