Skip to content

Commit

Permalink
Fix webpack overrides. (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdillick committed Mar 24, 2022
1 parent ae8666d commit 75cbfd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .core/umd.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const overrides = (umd, config) => {
])
.forEach(file => {
try {
require(path.resolve(file))(umd, config);
config = require(path.resolve(file))(umd, config);
} catch (error) {
console.error(chalk.red(`Error loading ${file}:`));
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion .core/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const overrides = config => {
])
.forEach(file => {
try {
require(path.resolve(file))(config);
config = require(path.resolve(file))(config);
} catch (error) {
console.error(chalk.red(`Error loading ${file}:`));
console.error(error);
Expand Down

0 comments on commit 75cbfd6

Please sign in to comment.