mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
84e431d377
- 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
43 lines
1.1 KiB
JSON
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"
|
|
]
|
|
} |