From f63861a334d01ef85db4d1401f32fa34271b8a82 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Sun, 29 Oct 2017 18:40:56 -0500 Subject: [PATCH] fix prepublish script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c01d58f7a..363f6b99c 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint": "eslint src *.js", "lint:fix": "eslint --fix src", "build:browser": "webpack", - "prepublishOnly": "npm run test && npm run build:browser" + "prepublishOnly": "npm run test && NODE_ENV=production npm run build:browser" }, "repository": { "type": "git",