Skip to content

Instantly share code, notes, and snippets.

@vikas5914
Forked from deanhume/gruntfile.js
Last active August 29, 2015 14:07
Show Gist options
  • Save vikas5914/6e4d6d8cc4e4ed864e98 to your computer and use it in GitHub Desktop.
Save vikas5914/6e4d6d8cc4e4ed864e98 to your computer and use it in GitHub Desktop.
module.exports = function (grunt) {
grunt.initConfig({
uncss: {
dist: {
files: [
{ src: 'index.html', dest: 'cleancss/tidy.css' }
]
}
},
cssmin: {
dist: {
files: [
{ src: 'cleancss/tidy.css', dest: 'cleancss/tidy.css' }
]
}
}
});
// Load the plugins
grunt.loadNpmTasks('grunt-uncss');
grunt.loadNpmTasks('grunt-contrib-cssmin');
// Default tasks.
grunt.registerTask('default', ['uncss', 'cssmin']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment