Skip to content

Replace __VERSION__ with actual version number #8498

@PuruVJ

Description

@PuruVJ

Describe the problem

Currently, svelte/compiler exports VERSION with type __VERSION__. It causes mismatch like these in upcoming svelte.dev

CleanShot 2023-04-15 at 02 09 01@2x

Describe the proposed solution

It'd be great to export it with the current svelte version number. Maybe something in the rollup config? rollup-plugin-replace

Alternatives considered

Let it be? 🤷

Importance

nice to have

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