Enable React Strict Mode in next.config.js
This commit is contained in:
1 parent
baaf011630
commit
2d16140918
1 file changed
+1
@@ -3,6 +3,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
})
|
||||
|
||||
module.exports = withBundleAnalyzer({
|
||||
reactStrictMode: true,
|
||||
pageExtensions: ['js', 'jsx', 'md', 'mdx'],
|
||||
future: {
|
||||
webpack5: true,
|
||||
|
||||
Reference in new issue
Block a user