Skip to content

Commit

Permalink
build(components): update TypeScript ScriptTarget option (#3663)
Browse files Browse the repository at this point in the history
The ScriptTarget `ES6` does not exist in newer versions of TypeScript and is instead `ES2015`
  • Loading branch information
joshwiens authored and jelbourn committed Mar 20, 2017
1 parent 3ad6ff0 commit 5197906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gulp/tasks/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ task(':build:components:release', sequenceTask(

/** Builds components typescript in ES5, ES6 target. For specs Karma needs CJS output. */
task(':build:components:ts:es5', tsBuildTask(tsconfigPath, { target: ScriptTarget.ES5 }));
task(':build:components:ts:es6', tsBuildTask(tsconfigPath, { target: ScriptTarget.ES6 }));
task(':build:components:ts:es6', tsBuildTask(tsconfigPath, { target: ScriptTarget.ES2015 }));
task(':build:components:ts:spec', tsBuildTask(tsconfigPath, {
target: ScriptTarget.ES5, module: ModuleKind.CommonJS
}));
Expand Down

0 comments on commit 5197906

Please sign in to comment.