buddhike / gulp-jspm-build

Gulp plugin for jspm.
22 stars 9 forks source link

Cannot see ES6 src files in debugger with bundles #23

Open jhnet3 opened 8 years ago

jhnet3 commented 8 years ago

Chrome DevTools cannot see the original ES6 src files using bundles built by gulp-jspm-build

The app-bundle.js generated by gulp-jspm-build has sourceMappingURL mispelled with lowercase "Url" like this,

//# sourceMappingUrl=app-bundle.js.map

It should be all caps "URL" like this:

//# sourceMappingURL=app-bundle.js.map

After changing to uppercase URL, then DevTools sees the ES6 source.