chore: adjust tsconfig for blocksuite (#9259)

change `moduleResolution` to `bundler`
This commit is contained in:
Saul-Mirone
2024-12-23 13:10:55 +00:00
parent 2793080a57
commit 989e318c57
6 changed files with 28 additions and 75 deletions

View File

@@ -2,9 +2,9 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"useDefineForClassFields": false,
"module": "NodeNext",
"module": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"moduleResolution": "NodeNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"noEmitOnError": true,
"noUnusedLocals": true,
@@ -16,56 +16,6 @@
"composite": true
},
"files": [],
"references": [
{
"path": "./framework/block-std"
},
{
"path": "./framework/store"
},
{
"path": "./framework/global"
},
{
"path": "./framework/inline"
},
{
"path": "./blocks"
},
{
"path": "./presets"
},
{
"path": "./affine/all"
},
{
"path": "./affine/block-embed"
},
{
"path": "./affine/block-list"
},
{
"path": "./affine/block-paragraph"
},
{
"path": "./affine/block-surface"
},
{
"path": "./affine/components"
},
{
"path": "./affine/data-view"
},
{
"path": "./affine/model"
},
{
"path": "./affine/shared"
},
{
"path": "./affine/widget-scroll-anchoring"
}
],
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node",