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