mirror of https://github.com/grafana/grafana
- 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 APIpull/12718/head
parent
7e773e2d5e
commit
84e431d377
@ -1,32 +1,43 @@ |
||||
{ |
||||
"compilerOptions": { |
||||
"moduleResolution": "node", |
||||
"outDir": "public/dist", |
||||
"target": "es5", |
||||
"lib": ["es6", "dom"], |
||||
"rootDir": "public/", |
||||
"jsx": "react", |
||||
"module": "esnext", |
||||
"declaration": false, |
||||
"allowSyntheticDefaultImports": true, |
||||
"inlineSourceMap": false, |
||||
"sourceMap": true, |
||||
"noEmitOnError": false, |
||||
"emitDecoratorMetadata": false, |
||||
"experimentalDecorators": true, |
||||
"noImplicitReturns": true, |
||||
"noImplicitThis": false, |
||||
"noImplicitUseStrict":false, |
||||
"noImplicitAny": false, |
||||
"noUnusedLocals": true, |
||||
"baseUrl": "public", |
||||
"paths": { |
||||
"app": ["app"] |
||||
} |
||||
}, |
||||
"include": [ |
||||
"public/app/**/*.ts", |
||||
"public/app/**/*.tsx", |
||||
"public/test/**/*.ts" |
||||
] |
||||
"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" |
||||
] |
||||
} |
Loading…
Reference in new issue