diff --git a/next.config.js b/next.config.js index f7d5ff086..5f46ae940 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,8 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + reactStrictMode: true, + compress: true, experimental: { appDir: true, }, diff --git a/tsconfig.json b/tsconfig.json index c73eef3e8..89d1bf097 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,14 @@ { "compilerOptions": { - "target": "ES2015", - "lib": ["dom", "dom.iterable", "esnext"], + "target": "ESNext", + "lib": ["dom", "dom.iterable", "ESNext"], "allowJs": true, "skipLibCheck": true, "strict": true, "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, - "module": "esnext", + "module": "ESNext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true,