mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Add TS config for kibana_legacy (#80992)
* Add TS config for kibana_legacy To support project references. References #80508.
This commit is contained in:
parent
dd5e5279f1
commit
53770a12c9
2 changed files with 16 additions and 8 deletions
12
src/plugins/kibana_legacy/tsconfig.json
Normal file
12
src/plugins/kibana_legacy/tsconfig.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
},
|
||||
"include": ["../../../typings/**/*", "public/**/*", "server/**/*", "config.ts"],
|
||||
"references": [{ "path": "../../core/tsconfig.json" }]
|
||||
}
|
|
@ -3,18 +3,14 @@
|
|||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "./build/tsbuildinfo/kibana"
|
||||
},
|
||||
"include": [
|
||||
"kibana.d.ts",
|
||||
"src/**/*",
|
||||
"typings/**/*",
|
||||
"test_utils/**/*"
|
||||
],
|
||||
"include": ["kibana.d.ts", "src/**/*", "typings/**/*", "test_utils/**/*"],
|
||||
"exclude": [
|
||||
"src/**/__fixtures__/**/*",
|
||||
"src/test_utils/**/*",
|
||||
"src/core/**/*",
|
||||
"src/plugins/kibana_utils/**/*",
|
||||
"src/plugins/kibana_react/**/*"
|
||||
"src/plugins/kibana_legacy/**/*",
|
||||
"src/plugins/kibana_react/**/*",
|
||||
"src/plugins/kibana_utils/**/*"
|
||||
// In the build we actually exclude **/public/**/* from this config so that
|
||||
// we can run the TSC on both this and the .browser version of this config
|
||||
// file, but if we did it during development IDEs would not be able to find
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue