You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just checking, but I don't think this transform comes with sourcemap support? Any chance that it could? Because right now this transform (at least I think it's this one) is messing up my debugging :/
I suspect the general idea is to keep track of the position/length of the original string when you match it, and the length of the replacement string. You would then store this in a sourcemap and somehow pass it on to browserify (but how to do this exactly I'm not sure of...)
@call-a3 do you still think it was/is this transform is causing the issue? Maybe there's an example of a similar transform that does support source maps?
I tested without this transform, and sourcemaps seem to work with versionify disabled. I'd really like to be able to use this plugin without messing up my sourcemaps...
As to how sourcemaps support is implemented in browserify plugins, I have no idea...
To be honest, I'm not very interested in fixing this issue. If more people face this issue or if people are willing to fix it in a PR, I'm happy to discuss it.
Activity
webpro commentedon Sep 3, 2015
It doesn't come with explicit support. How to do this?
call-a3 commentedon Sep 4, 2015
I suspect the general idea is to keep track of the position/length of the original string when you match it, and the length of the replacement string. You would then store this in a sourcemap and somehow pass it on to browserify (but how to do this exactly I'm not sure of...)
webpro commentedon Sep 7, 2015
@call-a3 do you still think it was/is this transform is causing the issue? Maybe there's an example of a similar transform that does support source maps?
call-a3 commentedon Sep 7, 2015
I tested without this transform, and sourcemaps seem to work with versionify disabled. I'd really like to be able to use this plugin without messing up my sourcemaps...
As to how sourcemaps support is implemented in browserify plugins, I have no idea...
add versionify transform to add version to plotly.js dist files:
webpro commentedon Oct 15, 2016
To be honest, I'm not very interested in fixing this issue. If more people face this issue or if people are willing to fix it in a PR, I'm happy to discuss it.