aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tsconfig.json
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2025-01-26 23:29:23 +0800
committerGitHub <noreply@github.com>2025-01-26 23:29:23 +0800
commita97b7a38f4a652e7b24e101ef34e4f37b8c3094e (patch)
treec387ca55aa6977499b03346ab46e63a0f7c09b36 /tsconfig.json
parentd4d7fac39528b978b742420a3cb4e91cea6f5834 (diff)
parentcd8aab3a511091ce378ff7ebcaa42bf979f00882 (diff)
downloadHydroRollSite-a97b7a38f4a652e7b24e101ef34e4f37b8c3094e.tar.gz
HydroRollSite-a97b7a38f4a652e7b24e101ef34e4f37b8c3094e.zip
Merge pull request #8 from LofiSu/重构官网HEADmain
Refactor: Rewrite Site
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json42
1 files changed, 19 insertions, 23 deletions
diff --git a/tsconfig.json b/tsconfig.json
index af4ef2e..c133409 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,31 +1,27 @@
{
"compilerOptions": {
- "baseUrl": ".",
- "target": "esnext",
- "useDefineForClassFields": true,
- "allowSyntheticDefaultImports": true,
- "composite": true,
- "module": "esnext",
- "moduleResolution": "node",
+ "target": "ES2017",
+ "lib": ["dom", "dom.iterable", "esnext"],
+ "allowJs": true,
+ "skipLibCheck": true,
"strict": true,
- "jsx": "preserve",
- "sourceMap": false,
- "resolveJsonModule": true,
+ "noEmit": true,
"esModuleInterop": true,
- "lib": ["esnext", "dom"],
- "types": [
- "node",
- "vuetify"
+ "module": "esnext",
+ "moduleResolution": "bundler",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "jsx": "preserve",
+ "incremental": true,
+ "plugins": [
+ {
+ "name": "next"
+ }
],
"paths": {
- "@/*": ["src/*"]
- },
+ "@/*": ["./src/*"]
+ }
},
- "include": [
- "src/**/*.ts",
- "src/**/*.d.ts",
- "src/**/*.tsx",
- "src/**/*.vue",
- "vite.config.ts"
- ]
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
+ "exclude": ["node_modules"]
}