From 8c2a71e9cc71ef98721f2bfdef3e5923e06eef51 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Sat, 26 Jan 2019 19:35:43 +0100 Subject: [PATCH] feat: reduce bundle size by only compiling to es6 --- tsconfig-electron.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig-electron.json b/tsconfig-electron.json index f8ef9f89b..675b23517 100644 --- a/tsconfig-electron.json +++ b/tsconfig-electron.json @@ -5,7 +5,7 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es5", + "target": "es6", "typeRoots": [ "node_modules/@types" ], diff --git a/tsconfig.json b/tsconfig.json index 069b86138..43d48c745 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es5", + "target": "es6", "typeRoots": [ "node_modules/@types" ],