Skip to content

Rollup source transform + sourcemap returns original sourcemap #290

Description

@nikitaosyak

Hello!

I wanted to make simple source transform, as intended by your library. I do everything like documentation says here:

https://rollupjs.org/plugin-development/#source-code-transformations

using this example, rollup produces sourcemap as it was in the original file (file transform does work though)

some guy on the internet have exactly the same problem (at least had it last year, I guess it's not solved) here: https://stackoverflow.com/questions/77607028/rollup-transform-of-file-including-sourcemap-for-vite

I'll also try and reach people from rollup, but maybe I can get my solution here

thanks!

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions