diff options
author | 2022-03-15 19:25:24 -0500 | |
---|---|---|
committer | 2022-03-15 19:25:24 -0500 | |
commit | 9e59ec921fe539233a1a22b9f0c34ca3cfd05247 (patch) | |
tree | 76291a838cd441efb9e3d908f9d18333af4420bf /scripts/cmd/build.js | |
parent | 79282163e229bfe332b1221be3099f751b05807b (diff) | |
download | astro-9e59ec921fe539233a1a22b9f0c34ca3cfd05247.tar.gz astro-9e59ec921fe539233a1a22b9f0c34ca3cfd05247.tar.zst astro-9e59ec921fe539233a1a22b9f0c34ca3cfd05247.zip |
Disable sourcemaps for build (#2806)
* fix: disable sourcemaps for build
* chore: add changeset
Diffstat (limited to 'scripts/cmd/build.js')
-rw-r--r-- | scripts/cmd/build.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cmd/build.js b/scripts/cmd/build.js index 3a8f1d5b0..6dd78f4fa 100644 --- a/scripts/cmd/build.js +++ b/scripts/cmd/build.js @@ -38,6 +38,7 @@ export default async function build(...args) { if (!isDev) { await esbuild.build({ ...config, + sourcemap: false, bundle: entryPoints.length === 1, // Note: only use `bundle` with a single entrypoint! entryPoints, outdir, |