forked from patternfly/patternfly-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.esbuild.json
87 lines (87 loc) · 2.14 KB
/
tsconfig.esbuild.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"files": [
"./declaration.d.ts"
],
"exclude": [
"node_modules",
"**/node_modules/**",
"**/demo/*.js",
"**/demo/*.d.ts",
"**/_temp/**/*",
"**/custom-elements-manifest.config.js",
"**/*.story.*",
"**/test/*_e2e*"
],
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"composite": true,
"declaration": true,
"downlevelIteration": true,
"experimentalDecorators": true,
"importHelpers": true,
"incremental": true,
"inlineSources": true,
"module": "es2020",
"moduleResolution": "Node",
"verbatimModuleSyntax": true,
"preserveValueImports": true,
// Although TS 5.5 deprecates `preserveValueImports`, in favour of `verbatimModuleSyntax`,
// [see docs](https://www.typescriptlang.org/tsconfig#preserveValueImports)
// esbuild is not yet ready to remove it, which affects our tests and dev server
// [see issue](https://github.com/evanw/esbuild/issues/3019)
"ignoreDeprecations": "5.0",
"rootDir": ".",
"sourceMap": true,
"strict": true,
"target": "es2020",
"useDefineForClassFields": false,
"typeRoots": [
"./node_modules/@types",
"./@types"
],
"plugins": [
{
"transform": "@patternfly/pfe-tools/typescript/transformers/css-imports.cjs",
"inline": true
},
{
"name": "typescript-lit-html-plugin"
},
{
"name": "ts-lit-plugin"
}
],
"lib": [
"DOM.iterable",
"DOM",
"es2015.iterable",
"es2020",
"es2022",
"es5",
"es6",
"ScriptHost"
],
"paths": {
"@custom-elements-manifest/analyzer": [
"@types/custom-elements-manifest__analyzer"
],
"@custom-elements-manifest/analyzer/*": [
"@types/custom-elements-manifest__analyzer/*"
],
"@patternfly/elements/*": [
"./elements/*"
],
"@patternfly/patternfly/*": [
"@patternfly/patternfly/*"
],
"@patternfly/pfe-core/*": [
"./core/pfe-core/*"
],
"@patternfly/pfe-tools/*": [
"./tools/pfe-tools/*"
]
}
}
}