mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
build: use extended tsconfig
This commit is contained in:
parent
5fbf2c9928
commit
72194a4591
@ -1,36 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./temp",
|
"baseUrl": "./temp",
|
||||||
"outDir": "dist",
|
"types": []
|
||||||
"sourceMap": true,
|
|
||||||
"target": "esnext",
|
|
||||||
"module": "ESNext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"strict": true,
|
|
||||||
|
|
||||||
"allowJs": true,
|
|
||||||
"noImplicitAny": false,
|
|
||||||
"noImplicitThis": false,
|
|
||||||
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"removeComments": false,
|
|
||||||
"jsx": "preserve",
|
|
||||||
"lib": ["esnext", "dom"],
|
|
||||||
"paths": {
|
|
||||||
"compiler/*": ["src/compiler/*"],
|
|
||||||
"core/*": ["src/core/*"],
|
|
||||||
"server/*": ["src/server/*"],
|
|
||||||
"sfc/*": ["src/sfc/*"],
|
|
||||||
"shared/*": ["src/shared/*"],
|
|
||||||
"web/*": ["src/platforms/web/*"],
|
|
||||||
"v3": ["src/v3/index"],
|
|
||||||
"v3/*": ["src/v3/*"],
|
|
||||||
"types/*": ["src/types/*"],
|
|
||||||
"vue": ["src/platforms/web/entry-runtime-with-compiler"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"]
|
||||||
}
|
}
|
||||||
|
7
packages/server-renderer/test/tsconfig.json
Normal file
7
packages/server-renderer/test/tsconfig.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"types": ["node", "vitest/globals"]
|
||||||
|
},
|
||||||
|
"include": [".", "../../../test/test-env.d.ts"]
|
||||||
|
}
|
@ -1,37 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"baseUrl": ".",
|
|
||||||
"outDir": "dist",
|
|
||||||
"sourceMap": true,
|
|
||||||
"target": "esnext",
|
|
||||||
"module": "ESNext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"strict": true,
|
|
||||||
|
|
||||||
"allowJs": true,
|
|
||||||
"noImplicitAny": false,
|
|
||||||
"noImplicitThis": false,
|
|
||||||
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"removeComments": false,
|
|
||||||
"jsx": "preserve",
|
|
||||||
"lib": ["esnext", "dom"],
|
|
||||||
"types": ["node", "vitest/globals"],
|
|
||||||
"paths": {
|
|
||||||
"compiler/*": ["../../src/compiler/*"],
|
|
||||||
"core/*": ["../../src/core/*"],
|
|
||||||
"server/*": ["./src/*"],
|
|
||||||
"sfc/*": ["../../src/sfc/*"],
|
|
||||||
"shared/*": ["../../src/shared/*"],
|
|
||||||
"web/*": ["../../src/platforms/web/*"],
|
|
||||||
"v3": ["../../src/v3/index"],
|
|
||||||
"v3/*": ["../../src/v3/*"],
|
|
||||||
"types/*": ["../../src/types/*"],
|
|
||||||
"vue": ["../../src/platforms/web/entry-runtime-with-compiler"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"include": ["../../src", "../../test/test-env.d.ts", "."]
|
|
||||||
}
|
|
@ -1,37 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"types": ["node", "vitest/globals"]
|
||||||
"outDir": "dist",
|
|
||||||
"sourceMap": true,
|
|
||||||
"target": "esnext",
|
|
||||||
"module": "ESNext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"strict": true,
|
|
||||||
|
|
||||||
"allowJs": true,
|
|
||||||
"noImplicitAny": false,
|
|
||||||
"noImplicitThis": false,
|
|
||||||
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"removeComments": false,
|
|
||||||
"jsx": "preserve",
|
|
||||||
"lib": ["esnext", "dom"],
|
|
||||||
"types": ["node", "vitest/globals"],
|
|
||||||
"paths": {
|
|
||||||
"compiler/*": ["../src/compiler/*"],
|
|
||||||
"core/*": ["../src/core/*"],
|
|
||||||
"server/*": ["../packages/server-renderer/src/*"],
|
|
||||||
"sfc/*": ["../src/sfc/*"],
|
|
||||||
"shared/*": ["../src/shared/*"],
|
|
||||||
"web/*": ["../src/platforms/web/*"],
|
|
||||||
"v3": ["../src/v3/index"],
|
|
||||||
"v3/*": ["../src/v3/*"],
|
|
||||||
"types/*": ["../src/types/*"],
|
|
||||||
"vue": ["../src/platforms/web/entry-runtime-with-compiler"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"include": ["../src", "."]
|
"include": ["../src", "."]
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"compiler/*": ["src/compiler/*"],
|
"compiler/*": ["src/compiler/*"],
|
||||||
"core/*": ["src/core/*"],
|
"core/*": ["src/core/*"],
|
||||||
"server/*": ["packages/server-renderer/src/*"],
|
"server/*": ["packages/server-renderer/src/*"],
|
||||||
"sfc/*": ["src/sfc/*"],
|
"sfc/*": ["packages/compiler-sfc/src/*"],
|
||||||
"shared/*": ["src/shared/*"],
|
"shared/*": ["src/shared/*"],
|
||||||
"web/*": ["src/platforms/web/*"],
|
"web/*": ["src/platforms/web/*"],
|
||||||
"v3": ["src/v3/index"],
|
"v3": ["src/v3/index"],
|
||||||
@ -33,5 +33,5 @@
|
|||||||
"vue": ["src/platforms/web/entry-runtime-with-compiler"]
|
"vue": ["src/platforms/web/entry-runtime-with-compiler"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["src", "packages/server-renderer/src"],
|
"include": ["src", "packages/*/src"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user