neutrinojs / neutrino

Create and build modern JavaScript projects with zero initial configuration.
https://neutrinojs.org
Mozilla Public License 2.0
3.95k stars 214 forks source link

What if I dont like webpack-chain, does that prevent me from using neutrino? #97

Closed hulkish closed 7 years ago

eliperelman commented 7 years ago

It doesn't prevent you from using Neutrino, nor does it prevent you from doing basic overrides from package.json. If you want to do advanced configuration, then yes, you would have to use webpack-chain since it is our mechanism for maintaining stateful configurations across presets and middleware, which you cannot do with standard webpack configuration.

hulkish commented 7 years ago

my drawback with webpack-chain at this time is mainly due to the work that would be involved with covering the gaps that they currently haven't gotten to yet. Not knocking it at all... just to clarify.

eliperelman commented 7 years ago

@hulkish I completely understand, and have been working to resolve that. I should be publishing v2.0.0 of webpack-chain tomorrow which should give the API full coverage of shorthand methods. To be clear, webpack-chain currently allows you to configure all of Webpack, it's just that you have to use some of the lower-level methods to do it.

eliperelman commented 7 years ago

Keeping open so we can add this question to the FAQs.

eliperelman commented 7 years ago

Updated docs to address.