Skip to content

Commit 5197906

Browse files
joshwiensjelbourn
authored andcommitted
build(components): update TypeScript ScriptTarget option (#3663)
The ScriptTarget `ES6` does not exist in newer versions of TypeScript and is instead `ES2015`
1 parent 3ad6ff0 commit 5197906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gulp/tasks/components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ task(':build:components:release', sequenceTask(
3939

4040
/** Builds components typescript in ES5, ES6 target. For specs Karma needs CJS output. */
4141
task(':build:components:ts:es5', tsBuildTask(tsconfigPath, { target: ScriptTarget.ES5 }));
42-
task(':build:components:ts:es6', tsBuildTask(tsconfigPath, { target: ScriptTarget.ES6 }));
42+
task(':build:components:ts:es6', tsBuildTask(tsconfigPath, { target: ScriptTarget.ES2015 }));
4343
task(':build:components:ts:spec', tsBuildTask(tsconfigPath, {
4444
target: ScriptTarget.ES5, module: ModuleKind.CommonJS
4545
}));

0 commit comments

Comments
 (0)