Skip to content

Commit 8b1a395

Browse files
committed
Add comments to next.config.js file
1 parent f6678af commit 8b1a395

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ const config = {
4444
path: false,
4545
};
4646
}
47+
48+
// We need this additional rule to make sure that mjs files are
49+
// correctly detected within our src/ folder
4750
config.module.rules.push({
4851
test: /\.m?js$/,
4952
use: options.defaultLoaders.babel,

0 commit comments

Comments
 (0)