chore: set -p flag to ensure Mix.inProduction

This commit is contained in:
Phan An 2021-05-05 16:29:37 +02:00
parent ddb8619fff
commit 2a8d183bf1
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -45,7 +45,7 @@
"test:e2e": "kill-port 8080 && start-test dev :8080 'cypress open'",
"test:e2e:ci": "kill-port 8080 && start-test 'php artisan serve --port=8080 --quiet' :8080 'cypress run'",
"build": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build-demo": "cross-env NODE_ENV=demo node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build-demo": "cross-env NODE_ENV=demo node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js -p",
"production": "yarn build"
},
"dependencies": {},