Skip to content

Commit e9de4a1

Browse files
denar90ahumphreys87
authored andcommitted
fix for grunt uglify (#3021)
1 parent f67af42 commit e9de4a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Gruntfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ module.exports = function(grunt) {
8585
dest : 'lib/core/backbone.marionette.min.js',
8686
options : {
8787
banner: '<%= meta.core_bundle %>',
88-
sourceMap : 'lib/core/backbone.marionette.map',
88+
sourceMap : true,
89+
sourceMapName : 'lib/core/backbone.marionette.map',
8990
sourceMappingURL : '<%= uglify.bundle.options.sourceMappingURL %>',
9091
sourceMapPrefix : 1
9192
}
@@ -96,7 +97,8 @@ module.exports = function(grunt) {
9697
dest : 'lib/backbone.marionette.min.js',
9798
options : {
9899
banner: '<%= meta.banner %>',
99-
sourceMap : 'lib/backbone.marionette.map',
100+
sourceMap : true,
101+
sourceMapName : 'lib/backbone.marionette.map',
100102
sourceMappingURL : 'backbone.marionette.map',
101103
sourceMapPrefix : 2
102104
}

0 commit comments

Comments
 (0)