purifycss / grunt-purifycss

Remove unused CSS with the grunt build tool
MIT License
163 stars 21 forks source link

Added replace support #6

Open kanakiyajay opened 9 years ago

kanakiyajay commented 9 years ago

This makes it easier to use with grunt-usemin, by giving a replace option.

   purifycss: {
      options: {

      },
      target: {
        src: ['src/index.html', '.tmp/concat/js/*.js'],
        css: ['.tmp/concat/css/*.css'],
        replace: true
      }
    }