From ea957cfc635b00a1995d6a9827281044d73cd074 Mon Sep 17 00:00:00 2001 From: unix Date: Thu, 21 May 2020 05:40:10 +0800 Subject: [PATCH] chore: enable strict mode by default --- next.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/next.config.js b/next.config.js index a050541..3249d4c 100644 --- a/next.config.js +++ b/next.config.js @@ -22,6 +22,8 @@ const nextConfig = { }, experimental: { + reactStrictMode: true, + redirects() { return [ {