forked from visgl/react-map-gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
44 lines (44 loc) · 1.07 KB
/
tsconfig.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
{
"ts-node": {
"include": [
"modules",
"test"
],
// It is faster to skip typechecking. Remove if you want ts-node to do typechecking.
"transpileOnly": true
},
"compilerOptions": {
"target": "es2020",
"module": "es2020",
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"jsx": "react",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"react-map-gl": ["modules/main/src"],
"@vis.gl/react-mapbox": ["modules/react-mapbox/src"],
"@vis.gl/react-maplibre": ["modules/react-maplibre/src"]
},
"plugins": [
{
"transform": "@vis.gl/ts-plugins/ts-transform-append-extension",
"extensions": [".js"],
"after": true
},
{
"transform": "@vis.gl/ts-plugins/ts-transform-append-extension",
"extensions": [".js"],
"afterDeclarations": true
}
]
},
"include":[
"examples/**/*",
"modules/**/*",
"test/**/*"
]
}