Enable React Strict Mode in next.config.js

This commit is contained in:
Dr. Derek Austin committed 2021-04-11 18:56:11 -05:00
1 parent baaf011630
commit 2d16140918
1 file changed
+1
+1
View File
@@ -3,6 +3,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
})
module.exports = withBundleAnalyzer({
reactStrictMode: true,
pageExtensions: ['js', 'jsx', 'md', 'mdx'],
future: {
webpack5: true,