Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Generate a source map so tests point to the correct source errors
Browse files Browse the repository at this point in the history
Ref #167
  • Loading branch information
csnover authored and scottgonzalez committed Mar 9, 2015
1 parent eb93444 commit 622f48e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ module.exports = function(grunt) {
entry: '../pointerevents.js'
}).then(function (bundle) {
var umd = bundle.toUmd({
name: 'PointerEventsPolyfill'
name: 'PointerEventsPolyfill',
sourceMap: true,
sourceMapFile: 'dist/PEP.js'
});
grunt.file.write('dist/PEP.js', header + umd.code);
grunt.file.write('dist/PEP.js.map', umd.map.toString());
}).then(
function() {
grunt.log.ok();
Expand Down

0 comments on commit 622f48e

Please sign in to comment.