Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aed13a5

Browse files
committed
Add mainFields
1 parent 9a185ce commit aed13a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.9
1+
16.16.0

next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const nextConfig = optimizedImages({
1111
// https://github.com/vercel/next.js/issues/7755#issuecomment-937721514
1212
config.resolve.fallback.fs = false
1313
}
14+
config.resolve.mainFields = ['browser', 'main', 'module']
1415
return config
1516
},
1617
})

0 commit comments

Comments
 (0)