2023-02-04发表2023-08-18更新guacamole / js / compiler几秒读完 (大约71个字)0次访问guacamole-common-js库编译gulp 编译脚本 123456789101112131415var gulp = require('gulp');var concat = require('gulp-concat');var uglify = require('gulp-uglify');var rename = require('gulp-rename');var insert = require('gulp-insert');gulp.task('default', function() { return gulp.src('guacamole-common-js/src/main/webapp/modules/*.js') .pipe(concat('guacamole-common.js')) .pipe(insert.append('module.exports = Guacamole;')) .pipe(gulp.dest('dist')) .pipe(uglify()) .pipe(rename('guacamole-common.min.js')) .pipe(gulp.dest('dist'));}); guacamole-common-js库编译http://www.kch8.top/2023/02/04/guacamole-common-js-compile/发布于2023-02-04更新于2023-08-18许可协议#guacamolejs