webpack-react-boilerplate
webpack-react-boilerplate copied to clipboard
Update dependency webpack-merge to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| webpack-merge | 4.2.2 -> 5.10.0 |
Release Notes
survivejs/webpack-merge (webpack-merge)
v5.10.0
- Feat - Support object/array-formed condition for
mergeWithRules. #212
v5.9.0
v5.8.0
- Docs - Update
envexample to be webpack 5 compatible. #177, #180 - Feat - Support strings as rules for TypeScript, not just enums. #179, #185
v5.7.3
- Fix - Don't merge strings with objects in
mergeWithRules. #172
v5.7.2
- Fix - If there's no match when using
mergeoperation withmergeWithRules, use default merge behavior as a fallback. #167
v5.7.1
- Fix - Fix a merge failure for
mergeWithRuleswhen non-array matches are merged. #166
v5.7.0
- Feat - Throw a
TypeErrorif trying to usemergeWithRuleswith invalid configuration types forappend/prepend/mergeoperations.
v5.6.1
- Fix - Drop extraneous logging.
v5.6.0
- Feat - Support
merge(CustomizeRule.Merge) for objects atmergeWithRules. This is useful for merging loader options for example. #163
v5.5.0
v5.4.1
- Fix - Allow
mergeUniqueto work with arbitrary order. #161
v5.4.0
- Fix - Fall back correctly in
mergeWithRulesfor cases that aren't matched. #157 #158 - Fix - Don't throw if using
mergeWithRuleswithout a rule #151 - Feat - Throw if
undefinedis passed tomergeas a structure to merge
v5.3.0
- Fix - Expose
Configurationtype through a generic to TypeScript to support both webpack 4 and 5 #141 #154
In case you use webpack 4, please change your typing as instructed in the readme as the default type is loose but non-breaking.
v5.2.0
v5.1.4
- Fix - Expose
CustomizeRulefor TypeScript users #147
v5.1.3
- Fix - Allow merging a
RegExpto itself #145
v5.1.2
- Fix - Allow overriding an object field with
null#144
v5.1.1
- Fix - Drop
<reference types="webpack-dev-server" />from index.d.ts #143
v5.1.0
- Feature - Expose
mergeasdefaultfor backwards-compatibility with TypeScript. Nowimport merge from "webpack-merge";works there. In CommonJS, the default alias is exposed throughdefaultproperty due to technical constraints.
v5.0.9
- Fix - Don't crash on
merge()andmerge([]). Now{}is returned in these corner cases.
v5.0.8
- Fix - Support Node 10 #138
v5.0.7
- Fix - Drop tslib dependency by setting
"importHelpers": false,
v5.0.6
- Fix - Add tslib to dependencies
v5.0.5
- Tech - Optimize build size (UMD isn't needed)
v5.0.4
- Documentation - Use CommonJS imports at the examples. #137
v5.0.3
- Feature - Support TypeScript out of the box. #84 #86 #95 #110 #112
- Deprecation -
merge.smarthas been dropped as it's tricky to support all the corner cases. Instead, it's better to use the provided utilities to put together amergethat fits your case. - Deprecation -
mergeStrategyhas been dropped in favor of usingmergeWithCustomizewithcustomizeArrayandcustomizeObject. - Deprecation -
merge.multiplehas been dropped as the functionality was too specific and it's better to implement in the user space if needed. - Breaking -
mergehas been moved as a regular import (i.e.import { merge } from 'webpack-merge'). - Breaking - Merge customization has been moved behind
mergeWithCustomize. - Breaking - Bump supported Node version to 12
- Feature -
customizeArraysupports wildcards now. Example:'entry.*': 'prepend'. #45 #99 - Feature - Throw an error in case a
Promiseis being merged. It's better to wrap configuration within aPromiseand merge inside it. #81 - Fix - Drop lodash in favor of simpler dependencies. #134
- Fix - Make
uniquemerge from right to left to match behavior elsewhere. #119 - Fix - Make sure
uniquedoesn't lose non-unique items to merge. #125
Special thanks to Google and Addy Osmani for supporting the work financially as it allowed me to complete the work required by the new major release.
v5.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.