|
|
|
|
|
by killercup
3973 days ago
|
|
I'm constantly amazed by people who consider the ability to use Grunt, Gulp, Webpack, Browserify, etc. a "skill". I'm sorry, but to me, that's like being proud of having learnt to use that new washing machine. More on topic: > With Webpack you can declare a simple config file to define your build process. Your Webpack config file is actually a Node module that happens to export a valid configuration object. It even allows your config to depend on a preprocessor (like Babel or CoffeeScript, see [1]). By the way, if you want to have a "dev" and "production" config which are both based on a "common" config, have a look at [2] (it's nothing fancy, just deep object merge that concats arrays, basically). [1]: https://www.npmjs.com/package/interpret
[2]: https://www.npmjs.com/package/webpack-merge |
|