Skip to content

Commit

Permalink
fix(angular): browser builder should call correct function (#9457)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Mar 22, 2022
1 parent 0331b38 commit 933cd59
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -77,11 +77,7 @@ function buildAppWithCustomWebpackConfiguration(
// The extra Webpack configuration file can export a synchronous or asynchronous function,
// for instance: `module.exports = async config => { ... }`.
if (typeof config === 'function') {
return customWebpackConfiguration(
baseWebpackConfig,
options,
context.target
);
return config(baseWebpackConfig, options, context.target);
} else {
return merge(baseWebpackConfig, config);
}
Expand Down

0 comments on commit 933cd59

Please sign in to comment.