Skip to content

Commit

Permalink
fix(webpack): pass the correct config to user when isolatedConfig=false
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo committed Feb 10, 2023
1 parent 09670c7 commit 4a4c7b2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions packages/webpack/src/executors/webpack/webpack.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@ async function getWebpackConfigs(
: getWebpackConfig(context, options);

if (customWebpack) {
return await customWebpack(
{},
{
options,
context,
configuration: context.configurationName, // backwards compat
}
);
return await customWebpack(config, {
options,
context,
configuration: context.configurationName, // backwards compat
});
} else {
// If the user has no webpackConfig specified then we always have to apply
return config;
Expand Down

0 comments on commit 4a4c7b2

Please sign in to comment.