madskristensen / WebPackTaskRunner

A Visual Studio extension
Other
40 stars 17 forks source link

Adjust the setting of NODE_ENV variable #8

Closed scottaddie closed 8 years ago

scottaddie commented 8 years ago

The extension currently sets the NODE_ENV variable as follows:

SET NODE_ENV=development && ...

The space before the double ampersand causes the variable's value to include a trailing space. Here's an example of where it caused me trouble:

wptr_defect

I build the config file name based on the value of NODE_ENV. This PR eliminates the space before the double ampersand.

madskristensen commented 8 years ago

Thanks