mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build(components): update TypeScript ScriptTarget option (#3663)
The ScriptTarget `ES6` does not exist in newer versions of TypeScript and is instead `ES2015`
This commit is contained in:
committed by
Jeremy Elbourn
parent
3ad6ff0946
commit
51979069bd
@@ -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
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user