Skip to content

Instantly share code, notes, and snippets.

@pmallol
Last active July 3, 2020 22:05
Show Gist options
  • Save pmallol/c67d013cba848b2888f1bbe6a9ce367b to your computer and use it in GitHub Desktop.
Save pmallol/c67d013cba848b2888f1bbe6a9ce367b to your computer and use it in GitHub Desktop.
Add Webpack scripts to package.json
...
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "webpack --watch --color -d",
"build": "webpack --bail -p"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment