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:
@ -345,6 +345,14 @@ gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, {
|
|||||||
srcFolderInsertion: CONFIG.srcFolderInsertion.dart
|
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
|
// html
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user