Skip to content

Commit

Permalink
chore: 更好的 jsx 支持
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Aug 7, 2023
1 parent caadc71 commit 6bf097b
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,28 @@
"compilerOptions": {
"strict": true,
"jsx": "preserve",
"jsxImportSource": "vue",
"target": "esnext",
"module": "esnext",
"sourceMap": true,
"skipLibCheck": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["esnext", "dom"],
"lib": [
"esnext",
"dom"
],
"resolveJsonModule": true,
"moduleResolution": "node",
"useDefineForClassFields": true,
"baseUrl": ".",
"paths": {
"~/*": ["src/*"],
"@/*": ["src/*"]
"~/*": [
"src/*"
],
"@/*": [
"src/*"
]
}
},
"include": [
Expand All @@ -27,5 +35,8 @@
"src/**/*.vue",
"./vite.config.ts"
],
"exclude": ["node_modules", "dist"]
}
"exclude": [
"node_modules",
"dist"
]
}

0 comments on commit 6bf097b

Please sign in to comment.