Skip to content

Identifier "readonly" has already been declared #12

@matthieumasse

Description

@matthieumasse

Hi,

For information, we had to add a resolution to "@lezer/php": "1.0.3" because 1.0.4 causes build fails on our Vite application.

Use case :

  • We build a package (shared-components) with Vite (this package includes a codemirror component so we can reuse it in different apps)
  • We build an App (Nuxt3) importing the shared-components
  • ERROR on App build : Identifier "readonly" has already been declared

Resolution to 1.0.3 builds correctly.

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