fix(tsconfig): drop preserveSymlinks so vue types resolve under pnpm
pnpm resolves every package via a symlink into .pnpm/; preserveSymlinks pinned resolution to those symlink paths, blocking the vue -> @vue/runtime-dom -> @vue/runtime-core re-export chain and surfacing "has no exported member" errors for Ref, toValue, computed, etc.
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
},
|
},
|
||||||
"preserveSymlinks": true,
|
|
||||||
"lib": ["esnext", "dom", "dom.iterable", "scripthost", "ES2015"]
|
"lib": ["esnext", "dom", "dom.iterable", "scripthost", "ES2015"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
|
||||||
|
|||||||
Reference in New Issue
Block a user