grafana/tsconfig.json
David Kaltschmidt 84e431d377 Add tslib to TS compiler
- using tslib reduces bundle sizes
- add compiler option for easier default imports of CJS modules
- remove double entry of fork-ts-checker-plugin
- speed up hot reload by using exprimental ts-loader API
2018-07-25 17:06:44 +02:00

43 lines
1.1 KiB
JSON

{
"compilerOptions": {
"moduleResolution": "node",
"outDir": "public/dist",
"target": "es5",
"lib": [
"es6",
"dom"
],
"rootDir": "public/",
"jsx": "react",
"module": "esnext",
"declaration": false,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true, // importing helper functions from tslib
"noEmitHelpers": true, // disable emitting inline helper functions
"removeComments": false, // comments are needed by angular injections
"inlineSourceMap": false,
"sourceMap": true,
"noEmitOnError": false,
"emitDecoratorMetadata": false,
"experimentalDecorators": true,
"noImplicitReturns": true,
"noImplicitThis": false,
"noImplicitUseStrict": false,
"noImplicitAny": false,
"noUnusedLocals": true,
"baseUrl": "public",
"pretty": true,
"paths": {
"app": [
"app"
]
}
},
"include": [
"public/app/**/*.ts",
"public/app/**/*.tsx",
"public/test/**/*.ts"
]
}