mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 05:25:53 +08:00
build: use tsconfig bundler (#3581)
This commit is contained in:
+8
-4
@@ -18,9 +18,11 @@
|
||||
"useUnknownInCatchVariables": true,
|
||||
|
||||
// Modules
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "Node",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"types": ["affine__env"],
|
||||
"typeRoots": ["./node_modules/@types"],
|
||||
|
||||
// Emit
|
||||
"declaration": true,
|
||||
@@ -36,10 +38,12 @@
|
||||
// Interop Constraints
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"isolatedModules": true,
|
||||
|
||||
// Language and Environment
|
||||
"jsx": "react-jsx",
|
||||
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
||||
"jsx": "preserve",
|
||||
"jsxImportSource": "@emotion/react",
|
||||
"lib": ["ESNext", "DOM"],
|
||||
"target": "ES2022",
|
||||
"useDefineForClassFields": false,
|
||||
"experimentalDecorators": true,
|
||||
|
||||
Reference in New Issue
Block a user