browserify-hmr icon indicating copy to clipboard operation
browserify-hmr copied to clipboard

Do not fail on wrong source map. Fixes #9

Open royriojas opened this issue 10 years ago • 2 comments

royriojas avatar Oct 19 '15 23:10 royriojas

Sorry for the lack of a more timely response to this!

I'm more than a little hesitant to merge in a change that makes browserify-hmr silently ignore and replace sourcemaps in some situations. Logging the fact the issue happened would be a bit better, though I'd rather identify the other transforms that create bad or incompatible sourcemaps and try to fix their problem.

Macil avatar Jan 12 '16 00:01 Macil

No problem man, Sadly not all transforms play nice with source maps so for those cases I would still suggest to consider some kind of workaround. Maybe an option or something. Logging it is definitively better than failing silently. For now this workaround is good enough for my use case.

royriojas avatar Jan 12 '16 02:01 royriojas