Skip to content

Commit

Permalink
fix(angular): browser builder should call correct function (nrwl#9457)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 authored and sidmonta committed Apr 2, 2022
1 parent 58fc75a commit cd17c96
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 cd17c96

Please sign in to comment.