3 ms·
Nice presentation, and it would be even better if it could be integrated as a plugin for text editors (vim/emacs/...). Waiting for a good webpack.config.js one
by leppr 10y ago
Nice presentation, and it would be even better if it could be integrated as a plugin for text editors (vim/emacs/...).
Waiting for a good webpack.config.js one :)
- zackbloom 10y agoGo for it ;) https://github.com/EagerIO/JSON.is/tree/master/coffee/formats https://github.com/EagerIO/JSON.is/tree/master/coffee/format...
- Bromlife 10y agoWebpack config files are not JSON. They are full JavaScript.
- leppr 10y agoI haven't used webpack enough to be certain but AFAIK, like grunt, the config part is basically just JSON. Sure you can build your object dynamically, but it isn't something like gulp where you use functions to configure your project. In the end you're just exporting one big JSON-serializable object.