fix(build): only pass ts files to ts2dart transpilation.
Originally, we had .js as transpilation targets, but all those files have been converted.
This commit is contained in:
parent
83e99fc72d
commit
b5431e4cc0
|
@ -10,7 +10,7 @@ import ts2dart = require('ts2dart');
|
||||||
import {wrapDiffingPlugin, DiffingBroccoliPlugin, DiffResult} from './diffing-broccoli-plugin';
|
import {wrapDiffingPlugin, DiffingBroccoliPlugin, DiffResult} from './diffing-broccoli-plugin';
|
||||||
|
|
||||||
class TSToDartTranspiler implements DiffingBroccoliPlugin {
|
class TSToDartTranspiler implements DiffingBroccoliPlugin {
|
||||||
static includeExtensions = ['.js', '.ts'];
|
static includeExtensions = ['.ts'];
|
||||||
|
|
||||||
private basePath: string;
|
private basePath: string;
|
||||||
private transpiler: ts2dart.Transpiler;
|
private transpiler: ts2dart.Transpiler;
|
||||||
|
|
Loading…
Reference in New Issue