Skip to content

Instantly share code, notes, and snippets.

@trulysinclair
Created June 22, 2020 05:54
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 trulysinclair/33a53660c4a10ceb436ca9b1458a0694 to your computer and use it in GitHub Desktop.
Save trulysinclair/33a53660c4a10ceb436ca9b1458a0694 to your computer and use it in GitHub Desktop.
The simple scripts needed to get webpack running.
{
"name": "webpack-starter",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "NODE_ENV=production && yarn _webpack",
"start": "node ./dist/file-example.js",
"_webpack": "webpack-cli --config ./config/webpack.config.ts"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment