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",