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

support for .hasChanged #15

@danielroe

Description

@danielroe

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

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