Skip to content

Commit

Permalink
Merge pull request #638 from auth0/chore/bundling-source-maps
Browse files Browse the repository at this point in the history
Update uglify task to generate sourcemaps
  • Loading branch information
cristiandouce authored Oct 12, 2016
2 parents bb360c7 + d5e9838 commit f964015
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,14 @@ module.exports = function(grunt) {
},
uglify: {
build: {
src: "build/lock.js",
dest: "build/lock.min.js"
files: {
"build/lock.min.js": ["build/lock.js"]
},
options: {
sourceMap: true,
sourceMapName: "build/lock.min.js.map"
},

}
}
});
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"expect.js": "^0.3.1",
"grunt": "^0.4.5",
"grunt-babel": "^6.0.0",
"grunt-browserify": "^4.0.0",
"grunt-browserify": "4.0.1",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-connect": "^0.11.2",
"grunt-contrib-stylus": "^0.22.0",
"grunt-contrib-uglify": "^0.9.1",
"grunt-contrib-uglify": "2.0.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-env": "^0.4.4",
"grunt-exec": "^0.4.6",
Expand Down

0 comments on commit f964015

Please sign in to comment.