Skip to content

Instantly share code, notes, and snippets.

@john-crossley
Created May 13, 2018 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save john-crossley/7ac621ba06c41642eab212b538f94aef to your computer and use it in GitHub Desktop.
Save john-crossley/7ac621ba06c41642eab212b538f94aef to your computer and use it in GitHub Desktop.
Update scripts object inside package.json
"scripts": {
"dev": "NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment