Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit 861c109

Browse files
committed
tsconfig 변경
1 parent 355a837 commit 861c109

File tree

4 files changed

+32
-25
lines changed

4 files changed

+32
-25
lines changed

app/electron-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="vite-electron-plugin/electron-env" />

app/vite-env.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

tsconfig.json

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,33 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2017",
4-
"module": "ESNext",
5-
"baseUrl": ".",
6-
"outDir": "dist",
7-
"esModuleInterop": true,
8-
"moduleResolution": "Node",
9-
"allowJs": true,
10-
"skipLibCheck": true,
11-
"allowSyntheticDefaultImports": true,
3+
"target": "ESNext",
124
"useDefineForClassFields": true,
135
"lib": [
146
"DOM",
157
"DOM.Iterable",
168
"ESNext"
179
],
18-
"noEmit": true,
19-
"jsx": "preserve",
20-
"forceConsistentCasingInFileNames": true,
10+
"allowJs": false,
11+
"skipLibCheck": true,
12+
"esModuleInterop": false,
13+
"allowSyntheticDefaultImports": true,
2114
"strict": true,
22-
"declaration": true,
15+
"forceConsistentCasingInFileNames": true,
16+
"module": "ESNext",
17+
"moduleResolution": "Node",
2318
"resolveJsonModule": true,
2419
"isolatedModules": true,
25-
"types": [
26-
"vite/client"
27-
],
28-
"plugins": [
29-
{
30-
"name": "typescript-styled-plugin"
31-
}
32-
]
20+
"noEmit": true,
21+
"jsx": "react-jsx",
22+
"baseUrl": "./",
3323
},
3424
"include": [
35-
"./src",
36-
"./app",
37-
"vite.config.ts"
25+
"src"
26+
],
27+
"references": [
28+
{
29+
"path": "./tsconfig.node.json"
30+
}
3831
],
3932
"extends": "./tsconfig.paths.json"
4033
}

tsconfig.node.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"compilerOptions": {
3+
"composite": true,
4+
"module": "ESNext",
5+
"moduleResolution": "Node",
6+
"resolveJsonModule": true,
7+
"allowSyntheticDefaultImports": true
8+
},
9+
"include": [
10+
"vite.config.ts",
11+
"package.json",
12+
"app"
13+
]
14+
}

0 commit comments

Comments
 (0)