madskristensen / WebPackTaskRunner

A Visual Studio extension
Other
40 stars 17 forks source link

Missing -d and -p switches? #45

Open jamesecwalker opened 7 years ago

jamesecwalker commented 7 years ago

Installed product versions

Description

The -d and -p switches don't seem to be added to the commands and the same command is run regardless of whether I run the tool in Development or Production modes?

The documentation says this should happen, but I can see a commit removing them? Is there a reason why? Surely the production version should add -p at the very least as otherwise it's not going to minify and uglify my code?

Just to confirm, the code it is running on production is: cmd /c SET NODE_ENV=production&& webpack --watch --color

Am I missing something here?

isaacrlevin commented 7 years ago

Check out #43.