Skip to content

rollup/plugin-replace generates sourcemap like nothing is replaced #1797

Closed

Description

@nikitaosyak

Hello

So i've noticed that plugin-replace generates source map as if nothing has been changed (though source itself does change)

I think this is due to magic-string producing same sourcemap as if for original files

This problem is around year old as I understand (https://stackoverflow.com/questions/77607028/rollup-transform-of-file-including-sourcemap-for-vite), so maybe someone can clarify if this is intended behaviour

Thanks

Activity

  1. locked and limited conversation to collaborators on Oct 21, 2024
  2. converted this issue into a discussion #1798 on Oct 21, 2024
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