From ec57feac94fb0f45db200a03cb2f18dfdcf8d983 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 26 Oct 2022 22:45:13 -0700 Subject: [PATCH] Enable React strict mode --- web/next.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web/next.config.js b/web/next.config.js index 981512cc3..b5ab9fa02 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -2,6 +2,7 @@ const withLess = require('next-with-less'); module.exports = withLess({ trailingSlash: true, + reactStrictMode: true, webpack(config) { config.module.rules.push({ test: /\.svg$/i, @@ -9,11 +10,6 @@ module.exports = withLess({ use: ['@svgr/webpack'], }); - config.module.rules.push({ - test: /\.html/, - type: 'asset/source', - }); - return config; }, async rewrites() {