We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have got a demo.js node file, some .html files have been put to the src directory
var gulp = require('gulp'); var htmlone = require('gulp-htmlone'); gulp.task('htmlone', function() { gulp.src(['./src/*.html']) .pipe(htmlone({ removeSelector: '', // selector 配置,源文档中符合这个selector的标签将自动移除 keepliveSelector: '', // 不要combo的selector配置,源文档中符合这个selector的将保持原状 destDir: './dest', // dest 目录配置,一般情况下需要和 gulp.dest 目录保持一致,用于修正相对路径资源 coimport: true, // 是否需要把 @import 的资源合并 cssminify: true, // 是否需要压缩css jsminify: true // 是否需要压缩js })) .pipe(gulp.dest('./dest')); });
run node demo.js but cannot got expected merged files. the dest folder was empty.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have got a demo.js node file, some .html files have been put to the src directory
run node demo.js but cannot got expected merged files. the dest folder was empty.
The text was updated successfully, but these errors were encountered: