Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Last active May 19, 2017 07:56
Show Gist options
  • Save scottaddie/ec61dcedb47ff9113bf3 to your computer and use it in GitHub Desktop.
Save scottaddie/ec61dcedb47ff9113bf3 to your computer and use it in GitHub Desktop.
Webpack integration via tasks.json
{
"version": "0.1.0",
"command": "${workspaceRoot}/node_modules/.bin/webpack",
"isShellCommand": true,
"args": [
"--display-modules",
"--progress"
],
"echoCommand": true,
"tasks": [
{
"args": [
"-d"
],
"suppressTaskName": true,
"taskName": "webpack dev",
"isBuildCommand": true
},
{
"args": [
"-p"
],
"suppressTaskName": true,
"taskName": "webpack dist",
"isBuildCommand": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment