如题,我想实现类似于
gulp.src('./app/statics/js/*.ts')
.pipe(ts({
target: 'es5',
module: 'commonjs'
}))
.pipe(browserify())
.pipe(gulp.dest('./statics/js'))
这样的功能,讲每个js编译后遍历里面的import 然后将依赖全部打包到一个文件,怎么做?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
业精于勤,荒于嬉;行成于思,毁于随。