Skip to content

Commit 200e822

Browse files
committed
fix: tsdown compile tsx / jsx
1 parent 94f8643 commit 200e822

File tree

1 file changed

+27
-38
lines changed

1 file changed

+27
-38
lines changed

tsconfig.json

Lines changed: 27 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,29 @@
11
{
2-
"compilerOptions": {
3-
"target": "es2019",
4-
"module": "esnext",
5-
"strict": true,
6-
"jsx": "preserve",
7-
"importHelpers": true,
8-
"resolveJsonModule": true,
9-
"moduleResolution": "node",
10-
"esModuleInterop": true,
11-
"allowSyntheticDefaultImports": true,
12-
"rewriteRelativeImportExtensions": true,
13-
"verbatimModuleSyntax": true,
14-
"noEmit": true,
15-
"experimentalDecorators": true,
16-
"sourceMap": true,
17-
"baseUrl": ".",
18-
"rootDir": ".",
19-
"allowJs": false,
20-
"checkJs": false,
21-
"paths": {
22-
"@hocuspocus/*": [
23-
"packages/*/src/index.ts",
24-
]
25-
},
26-
"lib": [
27-
"esnext",
28-
"dom"
29-
],
30-
"skipLibCheck": true
31-
},
32-
"include": [
33-
"**/*.ts",
34-
"**/*.tsx"
35-
],
36-
"exclude": [
37-
"**/node_modules",
38-
"**/dist"
39-
]
2+
"compilerOptions": {
3+
"target": "es2019",
4+
"module": "esnext",
5+
"strict": true,
6+
"jsx": "react",
7+
"importHelpers": true,
8+
"resolveJsonModule": true,
9+
"moduleResolution": "node",
10+
"esModuleInterop": true,
11+
"allowSyntheticDefaultImports": true,
12+
"rewriteRelativeImportExtensions": true,
13+
"verbatimModuleSyntax": true,
14+
"noEmit": true,
15+
"experimentalDecorators": true,
16+
"sourceMap": true,
17+
"baseUrl": ".",
18+
"rootDir": ".",
19+
"allowJs": false,
20+
"checkJs": false,
21+
"paths": {
22+
"@hocuspocus/*": ["packages/*/src/index.ts"]
23+
},
24+
"lib": ["esnext", "dom"],
25+
"skipLibCheck": true
26+
},
27+
"include": ["**/*.ts", "**/*.tsx"],
28+
"exclude": ["**/node_modules", "**/dist"]
4029
}

0 commit comments

Comments
 (0)