Skip to content

Commit

Permalink
fix(build): add .mjs config override
Browse files Browse the repository at this point in the history
  • Loading branch information
moconnell committed Sep 28, 2023
1 parent 0b395c0 commit 3fdfe0f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = function override(config) {
config.module.rules.push({
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto',
});

return config;
};

0 comments on commit 3fdfe0f

Please # to comment.