Skip to content

Instantly share code, notes, and snippets.

@jchapuis
Forked from scottaddie/tasks.json
Created May 19, 2017 07:56
Show Gist options
  • Save jchapuis/6d96734a6625ab982c5a40451627c28f to your computer and use it in GitHub Desktop.
Save jchapuis/6d96734a6625ab982c5a40451627c28f 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