absolvent / gore-gulp

Simple way to run and maintain React.js projects without any configuration.
MIT License
1 stars 0 forks source link

fix regression: allow to provide webpack devtool #56

Closed zangrafx closed 7 years ago

zangrafx commented 7 years ago

"devtool" is used in development.js and production.js but never defined. This commit fixes this. Now you can provide devtools like this:

gg({
    "baseDir": __dirname,
    "developmentDevtool": "cheap-module-eval-source-map",
    "productionDevtool": "none"
}).setup(gulp);