diff --git a/app-shell-demo/package.json b/app-shell-demo/package.json index 160e5cc..2464bb1 100644 --- a/app-shell-demo/package.json +++ b/app-shell-demo/package.json @@ -48,7 +48,7 @@ "node": ">=5.0.0" }, "scripts": { - "postinstall": "gulp build:dist", + "postinstall": "if test \"$NODE_ENV\" = \"production\"; then gulp build:dist; fi", "start": "node index.js" } }