From 0cb1aa422f3ec3cf5178cacd5a4dabaaed302da9 Mon Sep 17 00:00:00 2001 From: Will Roberts Date: Thu, 22 Jun 2017 10:35:55 +0200 Subject: [PATCH] npm run build runs webpack in production mode --- {{cookiecutter.app_name}}/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}/package.json b/{{cookiecutter.app_name}}/package.json index 624c11c..d112415 100644 --- a/{{cookiecutter.app_name}}/package.json +++ b/{{cookiecutter.app_name}}/package.json @@ -8,7 +8,7 @@ }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "NODE_ENV=prod ./node_modules/.bin/webpack --progress --colors", + "build": "NODE_ENV=prod ./node_modules/.bin/webpack --progress --colors -p", "start": "./node_modules/.bin/webpack-dev-server --port 2992 --hot --inline", "lint": "eslint \"assets/js/*.js\"" },