From 3ea100617e71eaa72ee72709318fb355d7a75b9c Mon Sep 17 00:00:00 2001 From: Erik Brinkman Date: Wed, 14 Oct 2026 09:06:42 -0400 Subject: [PATCH] build: production bundle --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f3415e5..2a94bb4 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "fmt": "biome format --write", "lint": "tsc && biome check", "export:images": "mkdir -p images && <<< $'16\n32\n48\n128' xargs -I@ rsvg-convert -w @ -h @ public/repub.svg -o images/repub_@.png", - "export:bundle": "bun build src/background.ts src/popup.ts --outdir . --sourcemap=linked && bun build ./options.html --outdir out --sourcemap=linked --chunk-naming \"[name].[ext]\" --asset-naming \"[name].[ext]\" && bun build src/offscreen.ts src/pdf.worker.ts --outdir out --sourcemap=linked", + "export:bundle": "bun build src/background.ts src/popup.ts --outdir . --production --sourcemap=linked && bun build ./options.html --outdir out --production --sourcemap=linked --chunk-naming \"[name].[ext]\" --asset-naming \"[name].[ext]\" && bun build src/offscreen.ts src/pdf.worker.ts --outdir out --production --sourcemap=linked", "export:pack": "zip -r --filesync repub.zip background.js background.js.map images/*.png manifest.json offscreen.html popup.html popup.js popup.js.map out", "export": "bun export:images && bun export:bundle && bun export:pack", "pack": "bun lint && bun test --coverage && bun export && publint"