Skip to content

Commit

Permalink
fix: change from always truthy check
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersarnie committed Jul 24, 2023
1 parent 628aeff commit 787f7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/build/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module.exports = (__PROJECT_CONFIG__, mode) => {
const shouldExtend = customConfig?.extends ?? true;
if (!shouldExtend) {
webpackConfig = customConfig;
} else if (webpackConfig) {
} else {
webpackConfig = {
...webpackConfig,
...customConfig,
Expand Down

0 comments on commit 787f7dd

Please sign in to comment.