summaryrefslogtreecommitdiffstats
path: root/webapp/tsconfig.json
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-10 16:29:10 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-10 16:36:12 +0100
commitfb2f6b918beb0a994ad304bfd678ef0c5c562210 (patch)
tree21c64ee76658b2e68559891ba317cb893afd2d44 /webapp/tsconfig.json
parentc51d5034d527578da70bdd41b9ce13f28455c598 (diff)
Moved Dashboad webapp on Angular 5 !
Webapp loading time decreased from 2.7s to 1.5sec ! Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp/tsconfig.json')
-rw-r--r--webapp/tsconfig.json27
1 files changed, 14 insertions, 13 deletions
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