From eabc3887bac2148788510d3a74fc00a3a42e1376 Mon Sep 17 00:00:00 2001 From: Ev Haus Date: Tue, 15 Aug 2023 20:29:47 -0700 Subject: [PATCH] fix(48): ensure npm bundle is built with production settings Fixes #48 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3507506..8f1a3ed 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "type": "module", "exports": "./dist/index.js", "scripts": { - "build": "bun ./build.ts", + "build": "NODE_ENV=production bun ./build.ts", "lint": "bun typescript && bun rome:format && bun rome:lint && bun packagelint", "packagelint": "prettier-package-json --use-tabs --write ./package.json", "rome:format": "rome format --write .",