0.1.10 • Published 10 years ago

grunt-htmlcompressor v0.1.10

Weekly downloads
84
License
-
Repository
github
Last release
10 years ago

grunt-htmlcompressor

Grunt plugin for html compression, using htmlcompressor.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-htmlcompressor

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-htmlcompressor');

Then specify what files to compress in your config:

grunt.initConfig({
  htmlcompressor: {
    compile: {
      files: {
        'dest/index.html': 'src/index.html'
      },
      options: {
        type: 'html',
        preserveServerScript: true
      }
    }
  }
});

Release History

  • 0.0.1 First Release

License

Copyright (c) 2012 Jean-Sébastien Ney Licensed under the MIT license.

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

11 years ago

0.1.7

11 years ago

0.1.6

11 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago

0.0.1

12 years ago