gulp-cleanhtml - remove unneeded whitespaces, line-breaks, comments, etc from the HTML.

  •        3

The above will remove unneeded whitespaces, line-breaks, comments, etc from the HTML.

https://github.com/hemanth/gulp-cleanhtml

Dependencies:

htmlclean : ~3.0.0
gulp-util : ~3.0.7
event-stream : ~3.3.4

Tags
Implementation
License
Platform

   




Related Projects

gulp-clean-css - Minify css with clean-css.

  •    Javascript

This is just a simple gulp plugin, which means it's nothing more than a thin wrapper around clean-css. If it looks like you are having CSS related issues, please contact clean-css. Only create a new issue if it looks like you're having a problem with the plugin itself. See the CleanCSS options.

gulp-htmlmin - Minify HTML

  •    HTML

gulp plugin to minify HTML. Issues with the HTML parser and output must be reported on the html-minifier issue tracker.

gulp-sass - SASS plugin for gulp

  •    Javascript

Sass plugin for Gulp. Before filing an issue, please make sure you have Updated to the latest Gulp Sass and have gone through our Common Issues and Their Fixes section.


gulp-svg-sprite - SVG sprites & stacks galore — Gulp plugin wrapping around svg-sprite that reads in a bunch of SVG files, optimizes them and creates SVG sprites and CSS resources in various flavours

  •    Javascript

This document covers only gulp specific installation and configuration aspects. For a full list of features and options, please see the svg-sprite manual. NOTICE: By default, svg-sprite doesn't send any files downstream unless you configure it. There are tons of options available — please see below for some basic examples. Also, you should possibly take care of errors that might occur.

gulp-angular-templatecache - Concatenates and registers AngularJS templates in the $templateCache.

  •    Javascript

Concatenates and registers AngularJS templates in the $templateCache. Concatenate the contents of all .html-files in the templates directory and save to public/templates.js (default filename).

gulp-bump - Bump any version in any file which supports semver with gulp (gulpjs.com)

  •    Javascript

gulp-bump v2 supports Any valid semver in any filetype. ####You can view more examples in the example folder.

gulp-typescript - A TypeScript compiler for gulp with incremental compilation support.

  •    Javascript

A gulp plugin for handling TypeScript compilation workflow. The plugin exposes TypeScript's compiler options to gulp using TypeScript API. Updating from version 2? See the breaking changes in version 3.

gulp-useref - Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets

  •    Javascript

Inspired by the grunt plugin grunt-useref. It can handle file concatenation but not minification. Files are then passed down the stream. For minification of assets or other modifications, use gulp-if to conditionally handle specific types of assets. Changes under the hood have made the code more efficient and simplified the API. Since the API has changed, please observe the usage examples below.

gulp-rename - Rename files easily

  •    Javascript

gulp-rename is a gulp plugin to rename files easily. gulp-rename provides simple file renaming methods.

gulp-if - Conditionally run a task

  •    Javascript

A ternary gulp plugin: conditionally control the flow of vinyl objects. Note: Badly behaved plugins can often get worse when used with gulp-if. Typically the fix is not in gulp-if.

gulp-babel - Gulp plugin for Babel

  •    Javascript

Issues with the output should be reported on the Babel issue tracker.See the Babel options, except for sourceMap and filename which is handled for you.

gulp-postcss - Pipe CSS through PostCSS processors with a single parse

  •    Javascript

PostCSS gulp plugin to pipe CSS through several plugins, but parse CSS only once.Install required postcss plugins separately. E.g. for autoprefixer, you need to install autoprefixer package.

gulp-sketch - A SketchTool plugin for gulp

  •    CoffeeScript

A SketchTool plugin for gulp. Are you new to Sketch.app or the user of ver < 3.5 ? See the section below.

gulp-livereload - gulp plugin for livereload

  •    Javascript

A lightweight gulp plugin for livereload to be used with the livereload chrome extension or a livereload middleware. See examples.