Skip to content

Commit

Permalink
Merge pull request #17032 from mandarini/fix/angular-131-method-rename
Browse files Browse the repository at this point in the history
Angular: Fix for renamed method in angular 13.1
  • Loading branch information
shilman committed Jan 11, 2022
1 parent 296f92c commit f033bd7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/angular/src/server/angular-cli-webpack-13.x.x.js
Expand Up @@ -5,6 +5,7 @@ const {
const {
getCommonConfig,
getStylesConfig,
getDevServerConfig,
getTypescriptWorkerPlugin,
} = require('@angular-devkit/build-angular/src/webpack/configs');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
Expand Down Expand Up @@ -41,7 +42,11 @@ exports.getWebpackConfig = async (baseConfig, { builderOptions, builderContext }
aot: false,
},
builderContext,
(wco) => [getCommonConfig(wco), getStylesConfig(wco), getTypescriptWorkerPlugin(wco)]
(wco) => [
getCommonConfig(wco),
getStylesConfig(wco),
getTypescriptWorkerPlugin ? getTypescriptWorkerPlugin(wco) : getDevServerConfig(wco),
]
);

/**
Expand Down

0 comments on commit f033bd7

Please sign in to comment.