Open royriojas opened 8 years ago
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.
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.