Skip to content

v6.0.4

Choose a tag to compare

@Rasmizzle Rasmizzle released this 18 Oct 15:08
· 6 commits to main since this release

Switches out merging mechanis of webpack plugins merge.
This is an improvement and also a bugfix.

Improvement:

  • When a plugin is defined in custom webpack config that is already defined in common.webpack.js it is treated as one plugin that takes the default config and merges config of custom Webpack-Plugin onto it. This now also effects deeply nested configurations.

  • added tests for feature

Bugfix:

  • Fixes a bug where custom defined plugins in config would not be initialized

Note:
Deeply merging constructors only goes so far. If a default value of any used plugin in custom webpack config is initialized then it will overwrite the value defined in default config.