Created
June 23, 2017 15:08
-
-
Save MervinPraison/4ea797ac3cbd572c7f76fcf905b4addf to your computer and use it in GitHub Desktop.
Grunt Minify and Combine CSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| cssmin: { | |
| target: { | |
| files: [{ | |
| expand: true, | |
| cwd: 'release/css', | |
| src: ['*.css', '!*.min.css'], | |
| dest: 'release/css', | |
| ext: '.min.css' | |
| }] | |
| } | |
| } | |
| }); | |
| grunt.loadNpmTasks('grunt-contrib-cssmin'); | |
| grunt.registerTask('default', ["cssmin"]); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment