chore(build): change comment to indicate the temporary fix is permanent.
Fixes #3770 Closes #3775
This commit is contained in:
parent
377e3ac962
commit
d2a3b76a71
@ -20,7 +20,10 @@ class TSToDartTranspiler implements DiffingBroccoliPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rebuild(treeDiff: DiffResult) {
|
rebuild(treeDiff: DiffResult) {
|
||||||
// replace with toEmit = [] once https://github.com/angular/angular/issues/3770 is fixed
|
// Matches rootFilePaths in node_tree.ts
|
||||||
|
// These files are not compatible with Typescript's ES6 library
|
||||||
|
// so they must be explicitly included when targetting ES5, as ts2dart does.
|
||||||
|
// see https://github.com/angular/angular/issues/3770
|
||||||
let toEmit = [path.resolve(this.inputPath, 'angular2/traceur-runtime.d.ts')];
|
let toEmit = [path.resolve(this.inputPath, 'angular2/traceur-runtime.d.ts')];
|
||||||
let getDartFilePath = (path: string) => path.replace(/((\.js)|(\.ts))$/i, '.dart');
|
let getDartFilePath = (path: string) => path.replace(/((\.js)|(\.ts))$/i, '.dart');
|
||||||
treeDiff.addedPaths.concat(treeDiff.changedPaths)
|
treeDiff.addedPaths.concat(treeDiff.changedPaths)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user