From fb2f6b918beb0a994ad304bfd678ef0c5c562210 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 10 Nov 2017 16:29:10 +0100 Subject: Moved Dashboad webapp on Angular 5 ! Webapp loading time decreased from 2.7s to 1.5sec ! Signed-off-by: Sebastien Douheret --- webapp/tsconfig.json | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'webapp/tsconfig.json') diff --git a/webapp/tsconfig.json b/webapp/tsconfig.json index 9bad681..0fdb5c8 100644 --- a/webapp/tsconfig.json +++ b/webapp/tsconfig.json @@ -1,18 +1,19 @@ { + "compileOnSave": false, "compilerOptions": { - "outDir": "dist/app", - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": false, - "noStrictGenericChecks": true // better to switch to RxJS 5.4.2 ; workaround https://stackoverflow.com/questions/44810195/how-do-i-get-around-this-subject-incorrectly-extends-observable-error-in-types - }, - "exclude": [ - "gulpfile.ts", - "node_modules" - ] -} + "target": "es5", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2017", + "dom" + ] + } +} \ No newline at end of file -- cgit 1.2.3-korg