diff --git a/.changeset/spicy-chicken-pump.md b/.changeset/spicy-chicken-pump.md new file mode 100644 index 000000000..c4e41a5f9 --- /dev/null +++ b/.changeset/spicy-chicken-pump.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix a warning from Vite regarding internal sourcemaps 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,