Enable React Strict Mode in next.config.js

This commit is contained in:
Dr. Derek Austin 2021-04-11 18:56:11 -05:00
parent baaf011630
commit 2d16140918

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,