Skip to content

Sourcemap support #11

Closed
Closed

Description

@call-a3

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 :/

Activity

  1. webpro commented on Sep 3, 2015

    @webpro
    Owner

    It doesn't come with explicit support. How to do this?

  2. call-a3 commented on Sep 4, 2015

    @call-a3
    Author

    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...)

  3. webpro commented on Sep 7, 2015

    @webpro
    Owner

    @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?

  4. call-a3 commented on Sep 7, 2015

    @call-a3
    Author

    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...

  5. webpro commented on Oct 15, 2016

    @webpro
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions