Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 453 Bytes

disable-html-minification.md

File metadata and controls

22 lines (17 loc) · 453 Bytes

English / 日本語

Disable HTML minification

Remove $.htmlmin() pipe from the html task.

gulp.task('html', function () {
  return gulp.src('app/**/*.html')
-   .pipe($.htmlmin({
-     ...
-   }))
    .pipe(gulp.dest('dist'));
});

Optional:
If you want to remove this feature permanently, uninstall gulp-htmlmin from your project.

$ npm uninstall gulp-htmlmin --save-dev