소스 검색

fix: 增加react的类型配置

Before 7 달 전
부모
커밋
300910b62b
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      next.config.mjs
  2. 0 1
      tsconfig.json

+ 1 - 1
next.config.mjs

@@ -4,7 +4,7 @@ const withNextIntl = createNextIntlPlugin();
 
 /** @type {import('next').NextConfig} */
 const nextConfig = {
-    // output: "standalone",
+    output: "standalone",
     reactStrictMode: true,
     env: {
         BUILD_ENV: process.env.BUILD_ENV,

+ 0 - 1
tsconfig.json

@@ -16,7 +16,6 @@
     "isolatedModules": true,
     "jsx": "preserve",
     "incremental": true,
-    "react": [ "./node_modules/@types/react" ],
     "plugins": [
       {
         "name": "next"