chore(build): Remove traceur from build.

This removes traceur from the compilation step in broccoli. Broccoli now
transpiles to es5 using the typescript compiler.
This commit is contained in:
Ian Riley
2015-08-17 13:44:31 -07:00
committed by Rado Kirov
parent df8e15cab7
commit b025f94351
3 changed files with 25 additions and 7 deletions

View File

@ -41,6 +41,7 @@ class DiffingTSCompiler implements DiffingBroccoliPlugin {
this.tsOpts = Object.create(options);
this.tsOpts.outDir = this.cachePath;
this.tsOpts.target = (<any>ts).ScriptTarget[options.target];
this.tsOpts.module = (<any>ts).ModuleKind[options.module];
this.tsOpts.experimentalDecorators = true;
this.rootFilePaths = options.rootFilePaths ? options.rootFilePaths.splice(0) : [];
this.tsServiceHost = new CustomLanguageServiceHost(this.tsOpts, this.rootFilePaths,