Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

support for .hasChanged #15

Open
danielroe opened this issue Nov 4, 2022 · 0 comments
Open

support for .hasChanged #15

danielroe opened this issue Nov 4, 2022 · 0 comments

Comments

@danielroe
Copy link

I'm not sure if it's needed in this library, but .hasChanged in magic-string allows for an early return (skipping returning code and sourcemap) if nothing has changed, which is a significant performance optimisation in the vite pipelin.

see Rich-Harris/magic-string#202

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant