Skip to content

Commit 2b8a5f3

Browse files
committed
Generate source maps
Closes #149.
1 parent a7d0f8a commit 2b8a5f3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ module.exports = function(grunt) {
7474

7575
uglify: {
7676
options: {
77-
banner: grunt.file.read('template/_copyright.min.js')
77+
banner: grunt.file.read('template/_copyright.min.js'),
78+
sourceMap: function (dest) {
79+
return path.join(path.dirname(dest),
80+
path.basename(dest, '.js')) +
81+
'.map.js';
82+
}
7883
},
7984
dist: {
8085
src: ['build/**/*.js'],

0 commit comments

Comments
 (0)