在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):tambourinecoder/gulp-jst-concat开源软件地址(OpenSource Url):https://github.com/tambourinecoder/gulp-jst-concat开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-jst-concat
InstallInstall using npm.
Usagevar jade = require('gulp-jade')
, jstConcat = require('gulp-jst-concat')
gulp.task('JST', function () {
gulp.src('client/app/views/**/*jade')
.pipe(jade())
.pipe(jstConcat('jst.js', {
renameKeys: ['^.*views/(.*).html$', '$1']
}))
.pipe(gulp.dest('public/assets'))
}) This compiles all of your client-side views into a single file Let's say we have views located at
Given the example's option
(Please note that OptionsrenameKeysType Control your This will default to LicenseMIT |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论