gulp-pangu是Gulp扩展,可以在中文与英文之间添加空格字符。
var pangu = require('gulp-pangu');安装$ npm install --save-dev gulp-pangu使用// include the required packages.var gulp = require('gulp');var pangu = require('gulp-pangu');gulp.task('pangu', function() { gulp.src(['./test.html']) .pipe(pangu()) .pipe(gulp.dest('./dist/'));});点击空白处退出提示
评论