Skip to content

Commit 217ba11

Browse files
committed
Add note as to why sourcemap files do not need to be cleaned up
1 parent c78ebfb commit 217ba11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ async function bundle_helper(
6262
format: "esm",
6363
bundle: true,
6464
minify: minify,
65+
// No need to clean up old source maps, as `minify==false` only during `npm run watch-fast`
66+
// GHA will run `npm run build` which will minify
6567
sourcemap: minify,
6668
metafile: metafile,
6769
outdir: outDir,

0 commit comments

Comments
 (0)