{date} {t("JellyAI")}
+ ) +} + + + + diff --git a/apps/blogai/next.config.js b/apps/blogai/next.config.js index 5a74f7e..c27017d 100644 --- a/apps/blogai/next.config.js +++ b/apps/blogai/next.config.js @@ -32,6 +32,9 @@ const nextConfig = { // Warning: This allows production builds to successfully complete even if // your project has ESLint errors. ignoreDuringBuilds: true, + }, + experimental: { + esmExternals: true, }, images: { remotePatterns: [ diff --git a/apps/blogai/tsconfig.json b/apps/blogai/tsconfig.json index 1fe8980..322920e 100644 --- a/apps/blogai/tsconfig.json +++ b/apps/blogai/tsconfig.json @@ -8,12 +8,7 @@ ], "allowJs": true, "skipLibCheck": true, - //"strict": true, - // ✅ 临时关闭严格检查 ↓↓↓ - "strict": false, - "noImplicitAny": false, - "strictNullChecks": false, - + "strict": true, "forceConsistentCasingInFileNames": true, "noEmit": true, "incremental": true, @@ -40,7 +35,7 @@ "name": "next" } ], - //"strictNullChecks": true + "strictNullChecks": true }, "include": [ "next-env.d.ts", @@ -48,7 +43,7 @@ "**/*.ts", "**/*.tsx", ".next/types/**/*.ts" -, "auth.ts" ], +], "exclude": [ "test", "node_modules"