gruntjs/grunt-contrib-cssmin

sourceMap not working

prashantkoshta opened this issue · 1 comments

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']
                        }
            }
        }, 

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