From 54187b35972fc4eacce625d1ed6b27980e4fcd0a Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 1 Sep 2018 17:03:02 -0700 Subject: [PATCH] Fix build by adding es6 lib Targets are still es5, es6 is needed for @types/webpack to parse --- src/addons/attach/tsconfig.json | 4 ++++ src/addons/fit/tsconfig.json | 4 ++++ src/addons/fullscreen/tsconfig.json | 4 ++++ src/addons/search/tsconfig.json | 4 ++++ src/addons/terminado/tsconfig.json | 4 ++++ src/addons/webLinks/tsconfig.json | 4 ++++ src/addons/winptyCompat/tsconfig.json | 4 ++++ src/addons/zmodem/tsconfig.json | 4 ++++ tsconfig.json | 1 + 9 files changed, 33 insertions(+) diff --git a/src/addons/attach/tsconfig.json b/src/addons/attach/tsconfig.json index 12e75810..359fbd24 100644 --- a/src/addons/attach/tsconfig.json +++ b/src/addons/attach/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/attach/", "sourceMap": true, diff --git a/src/addons/fit/tsconfig.json b/src/addons/fit/tsconfig.json index f806af18..bccb2ef1 100644 --- a/src/addons/fit/tsconfig.json +++ b/src/addons/fit/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/fit/", "sourceMap": true, diff --git a/src/addons/fullscreen/tsconfig.json b/src/addons/fullscreen/tsconfig.json index 2fbb295f..cdebd36d 100644 --- a/src/addons/fullscreen/tsconfig.json +++ b/src/addons/fullscreen/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/fullscreen/", "sourceMap": true, diff --git a/src/addons/search/tsconfig.json b/src/addons/search/tsconfig.json index 47876a00..5e9fa502 100644 --- a/src/addons/search/tsconfig.json +++ b/src/addons/search/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/search/", "sourceMap": true, diff --git a/src/addons/terminado/tsconfig.json b/src/addons/terminado/tsconfig.json index b664a5e0..66e90d90 100644 --- a/src/addons/terminado/tsconfig.json +++ b/src/addons/terminado/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/terminado/", "sourceMap": true, diff --git a/src/addons/webLinks/tsconfig.json b/src/addons/webLinks/tsconfig.json index 7dd999f6..a1cc8968 100644 --- a/src/addons/webLinks/tsconfig.json +++ b/src/addons/webLinks/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/webLinks/", "sourceMap": true, diff --git a/src/addons/winptyCompat/tsconfig.json b/src/addons/winptyCompat/tsconfig.json index ecad2563..8a4fe2dc 100644 --- a/src/addons/winptyCompat/tsconfig.json +++ b/src/addons/winptyCompat/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/winptyCompat/", "sourceMap": true, diff --git a/src/addons/zmodem/tsconfig.json b/src/addons/zmodem/tsconfig.json index d4577108..e2fdfeb0 100644 --- a/src/addons/zmodem/tsconfig.json +++ b/src/addons/zmodem/tsconfig.json @@ -2,6 +2,10 @@ "compilerOptions": { "module": "commonjs", "target": "es5", + "lib": [ + "dom", + "es6", + ], "rootDir": ".", "outDir": "../../../lib/addons/zmodem/", "sourceMap": true, diff --git a/tsconfig.json b/tsconfig.json index d7085822..2d1d6e35 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "lib": [ "dom", "es5", + "es6", "scripthost", "es2015.promise" ],