Skip to content

Commit

Permalink
Remove no-longer-supported watch option.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Dec 19, 2024
1 parent d037bfb commit 5157914
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -44,7 +42,6 @@ async function main() {
target: "es2020",
format: "esm",
globalName: "UV",
watch,
minify: true,
external: [
...Object.keys(pkg.dependencies).filter(
Expand Down

0 comments on commit 5157914

Please sign in to comment.