-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
tsconfig.module.json
36 lines (36 loc) · 1017 Bytes
/
tsconfig.module.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
// This is a base TS config for the individual packages, mainly for building .d.ts files
{
"extends": "./tsconfig.json",
"compilerOptions": {
"build": true,
"esModuleInterop": true,
"declaration": true,
"declarationMap": true,
"noEmit": false,
"useDefineForClassFields": false,
// Uncomment to debug
// "listEmittedFiles": true,
"plugins": [
{
"transform": "ocular-dev-tools/ts-transform-version-inline"
},
{
"transform": "ocular-dev-tools/ts-transform-remove-glsl-comments",
"pattern": ["**/*.glsl.ts"]
},
{
"transform": "ocular-dev-tools/ts-transform-inline-webgl-constants"
},
{
"transform": "ocular-dev-tools/ts-transform-append-extension",
"extensions": [".js", ".glsl.js"],
"after": true
},
{
"transform": "ocular-dev-tools/ts-transform-append-extension",
"extensions": [".js", ".glsl.js"],
"afterDeclarations": true
}
]
}
}