From 44e6e337cda8117db927ac5b4cf2248c7c7464ec Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Wed, 4 Mar 2026 22:39:17 -0500 Subject: [PATCH] re-enable bundle minification: 1138KB exceeded 1MB store limit, minified is 730KB The unminified bundle caused store-ready test failures in browser-toys (all three browsers). Minification brings it well under the 1MB per-file limit while the CDN copy remains readable source. Co-Authored-By: Claude Opus 4.6 --- scripts/bundle-extension.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bundle-extension.mjs b/scripts/bundle-extension.mjs index 57c727e..c5e74ca 100644 --- a/scripts/bundle-extension.mjs +++ b/scripts/bundle-extension.mjs @@ -38,7 +38,7 @@ try { entryPoints: [path.join(ROOT, "public", "uncloseai.js")], bundle: true, format: "iife", - minify: false, + minify: true, sourcemap: false, outfile: path.join(ROOT, "public", "uncloseai-bundle.js"), plugins: [cdnResolverPlugin],