Created
June 23, 2017 15:07
-
-
Save MervinPraison/d6abd15a4e01cd7da6df7f46aa77e39b to your computer and use it in GitHub Desktop.
Grunt Minify 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: { | |
| options: { | |
| mergeIntoShorthands: false, | |
| roundingPrecision: -1 | |
| }, | |
| target: { | |
| files: { | |
| 'output.css': ['foo.css', 'bar.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