mergeStrategiesfield incustomWebpackConfighas been deprecated, usemergeRulesinstead as defined here.
In order to make this breaking change as backward compatible as possible, the default value of mergeRules is the following:
{
module: {
rules: {
test: "match",
use: {
loader: "match",
options: "merge",
},
},
},
};This is as close as possible to the smart merge strategy that was used before, so ideally if you didn't use mergeStrategies then your configuration should work just as it worked before.
Otherwise you'll have to adjust the mergeRules in accordance with your needs.
If you don't want to invest time in learning how the mergeRules work or you have a complicated use case then consider using Custom Webpack Config Function. This way you'll have full control over the configuration without relying on any merging mechanism.
- Update to Jest 26 if you still haven't.
@angular/architectandangular/coreare now direct builder dependencies, therefore no need to specify them explicitly inpackage.json
-
jest-preset-angular version has been updated to 8. If you have any custom Jest configuration, make sure it matches the preset version.
-
If you're using Ivy (enabled by default in version 9) make sure you run
ngccin apostinstallhook. For more details refer to this issue.
index.htmlis no longer generated with Webpack. This means if your solution uses Webpack to alterindex.htmlit will stop working the moment you upgrade to version 8.
Instead you should useindexTransformproperty.
@angular-builders/dev-server:generichas been deprecated. Use@angular-builders/custom-webpack:dev-serverinstead.
- Update to Jest 24 if you still haven't.