gruntjs / grunt-contrib-cssmin

Compress CSS files.
http://gruntjs.com/
MIT License
793 stars 147 forks source link

sourceMap not working #277

Closed prashantkoshta closed 8 years ago

prashantkoshta commented 8 years ago

sourceMap feature not working. I am using following configuration.

$ grunt -version
grunt-cli v1.2.0
grunt v1.0.1

"grunt-contrib-cssmin": "^1.0.2",

Code Snippet -

cssmin: {          
           options: {
                sourceMap: true
            },
            dist :{
                files: {                    
                            'app/css/xxxx.min.css':['app/css/xxxx.css']
                        }
            }
        }, 
prashantkoshta commented 8 years ago

Its working for me now. It seem have grunt-yui-compressor on package.json which was causing conflict with grunt-contrib-cssmin.