next: enable React.StrictMode
This commit is contained in:
parent
c193ad5f82
commit
d66207ad43
@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const withPlugins = require('next-compose-plugins');
|
||||
const withLess = require('next-with-less');
|
||||
const withGraphQL = require('next-plugin-graphql');
|
||||
@ -5,7 +6,7 @@ const withGraphQL = require('next-plugin-graphql');
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
swcMinify: true,
|
||||
reactStrictMode: false,
|
||||
reactStrictMode: true,
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user