Skip to content

Commit 75cbfd6

Browse files
authored
Fix webpack overrides. (#131)
1 parent ae8666d commit 75cbfd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.core/umd.webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const overrides = (umd, config) => {
1818
])
1919
.forEach(file => {
2020
try {
21-
require(path.resolve(file))(umd, config);
21+
config = require(path.resolve(file))(umd, config);
2222
} catch (error) {
2323
console.error(chalk.red(`Error loading ${file}:`));
2424
console.error(error);

.core/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const overrides = config => {
2727
])
2828
.forEach(file => {
2929
try {
30-
require(path.resolve(file))(config);
30+
config = require(path.resolve(file))(config);
3131
} catch (error) {
3232
console.error(chalk.red(`Error loading ${file}:`));
3333
console.error(error);

0 commit comments

Comments
 (0)