We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0075d64 commit aefe94dCopy full SHA for aefe94d
Gruntfile.js
@@ -168,14 +168,13 @@ module.exports = function(grunt) {
168
169
uglify: {
170
options: {
171
- sourceMap: function (dest) {
+ sourceMap: true,
172
+ sourceMapName: function (dest) {
173
return path.join(path.dirname(dest),
174
path.basename(dest, '.js')) +
175
'.map';
176
},
- sourceMappingURL: function (dest) {
177
- return path.basename(dest, '.js') + '.map';
178
- },
+
179
// Only preserve comments that start with (!)
180
preserveComments: /^!/,
181
compress: {
0 commit comments