mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
While migrating to pnpm I got an issue with our extends relying on node_modules. pnpm have only symlinks and do not have hoisted node_modules in the root. Here I switched extends to package name as all tools can resolve it and tweaked remix tsconfig to extend from packages folder instead of node_modules.
17 lines
339 B
JSON
17 lines
339 B
JSON
{
|
|
"extends": "@webstudio-is/tsconfig/base.json",
|
|
"include": [
|
|
"./src",
|
|
"./src/**/__generated__/*.json",
|
|
"../../@types/**/*.d.ts"
|
|
],
|
|
"compilerOptions": {
|
|
"lib": ["DOM", "DOM.Iterable", "ES2020"],
|
|
"module": "ES2020",
|
|
"target": "ES2020",
|
|
"baseUrl": ".",
|
|
"outDir": "./lib",
|
|
"rootDir": "./src"
|
|
}
|
|
}
|