grunt-contrib-concat icon indicating copy to clipboard operation
grunt-contrib-concat copied to clipboard

Source map not being created

Open sethreidnz opened this issue 10 years ago • 0 comments

Hi,

I am using concat with usemin and this is my configuration:

concat: {
       options : {
        sourceMap :true
      }
    },

    uglify: {
      options: {
        sourceMap: true,
        sourceMapIn: function(uglifySource) {
          return uglifySource + '.map';
        },
        sourceMapIncludeSources: true
      }
    },

However concat fails to actually create the map file so uglify cannot find it. Any ideas why setting sourceMap to true doesn't work?

sethreidnz avatar Oct 23 '15 01:10 sethreidnz