Ed Morley

Results 459 comments of Ed Morley

Perhaps it would be good to add some of the following to the README? * cross-references between the webpack-chain concepts and the webpack docs * more examples * links to...

Hi! When defining a plugin using webpack-chain, the second argument (if specified) is an array representing the arguments that are passed to the plugin's constructor. For example: ```js const Config...

Ah the `merge()` is any merging function of choice (eg [deepmerge](https://github.com/TehShrike/deepmerge)) - though that's definitely not clear without context, sorry! Re the example above, whilst it's not the cause of...

You're welcome! If you can think of any ways to improve the README we'd love to know (or if you have a moment to open a PR?) :-)

Reopening for tracking improving the docs.

Yeah glancing now, it looks like webpack-chain doesn't yet support that. Pretty much every webpack configuration feature has to be explicitly added to webpack-chain, so if something's missing it normally...

@eliperelman is this example referring to deepmerge's `merge()` or that from [babel-merge](https://github.com/eliperelman/babel-merge)? I'm presuming the latter?

@virajsanghvi Hi! I'd be happy to accept a PR to add support before the webpack 5 final release. However I don't have much time to work on webpack-chain or Neutrino...

@gpetrov The latter :-)

I would start by reading through: https://webpack.js.org/blog/2020-10-10-webpack-5-release/ ...and seeing if there are any options added/removed that are essential for a webpack config, and not currently set-able with webpack-chain :-)