Skip to content

Instantly share code, notes, and snippets.

@j0lvera
Created July 3, 2017 02:47
Show Gist options
  • Save j0lvera/c3fe1880b2a2ac26c599c3a5ce2357be to your computer and use it in GitHub Desktop.
Save j0lvera/c3fe1880b2a2ac26c599c3a5ce2357be to your computer and use it in GitHub Desktop.
laravel-mix npm scripts
{
"dev": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "node node_modules/cross-env/dist/bin/cross-env.js 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