First hook in the angular build to run ts2dart.
This expects files we are interested in to have the '.ts' extension.
This commit is contained in:
parent
91426a8efe
commit
e569e0b1ee
@ -314,6 +314,14 @@ gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, {
|
||||
srcFolderInsertion: CONFIG.srcFolderInsertion.dart
|
||||
}));
|
||||
|
||||
var ts2dart = require('gulp-ts2dart');
|
||||
gulp.task('build/transpile.dart.experimental', function() {
|
||||
gulp.src('modules/**/*.ts')
|
||||
.pipe(ts2dart.transpile())
|
||||
.pipe(ts2dart.format())
|
||||
.pipe(gulp.dest(CONFIG.dest.dart))
|
||||
});
|
||||
|
||||
// ------------
|
||||
// html
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user