Skip to content

Commit 85ec34d

Browse files
committed
feat(build): added a temporary fix to make test.unit.dart work
1 parent a9ce454 commit 85ec34d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/broccoli/broccoli-ts2dart.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class TSToDartTranspiler implements DiffingBroccoliPlugin {
2020
}
2121

2222
rebuild(treeDiff: DiffResult) {
23-
let toEmit = [];
23+
// replace with toEmit = [] once https://github.com/angular/angular/issues/3770 is fixed
24+
let toEmit = [path.resolve(this.inputPath, 'angular2/traceur-runtime.d.ts')];
2425
let getDartFilePath = (path: string) => path.replace(/((\.js)|(\.ts))$/i, '.dart');
2526
treeDiff.addedPaths.concat(treeDiff.changedPaths)
2627
.forEach((changedPath) => {

0 commit comments

Comments
 (0)