[grade=pending] QA sprint: commit 103 at-risk files from multi-agent sprint work
Committed by Hermes autonomous QA sprint 2026-08-13. These files were modified during the Aug 12 sprint but never committed.
This commit is contained in:
+6
-1
@@ -149,13 +149,18 @@ async function build() {
|
||||
const concatenated = parts.join(';\n');
|
||||
|
||||
// Minify with esbuild (safe to re-minify already-minified code like driver.min.js)
|
||||
const { code } = await esbuild.transform(concatenated, {
|
||||
// DC-072: sourcemap='both' emits inline + external .map for production debugging
|
||||
const { code, map } = await esbuild.transform(concatenated, {
|
||||
minify: true,
|
||||
target: 'es2020',
|
||||
sourcemap: 'both',
|
||||
});
|
||||
|
||||
const outPath = path.join(DIST, outName);
|
||||
fs.writeFileSync(outPath, code);
|
||||
if (map) {
|
||||
fs.writeFileSync(outPath + '.map', map);
|
||||
}
|
||||
|
||||
const rawSize = (Buffer.byteLength(concatenated) / 1024).toFixed(1);
|
||||
const minSize = (Buffer.byteLength(code) / 1024).toFixed(1);
|
||||
|
||||
Reference in New Issue
Block a user