Merge pull request #22 from DoctorDerek/enable-react-strict-mode

Enable React Strict Mode in next.config.js
This commit is contained in:
Timothy
2021-04-13 10:00:09 +08:00
committed by GitHub

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,