Skip to content

ESModule support glitch needs double .default #14

@FossPrime

Description

@FossPrime

Describe the bug

importing with ESM enabled requires targeting default.default

Reproduction

https://stackblitz.com/edit/pyodide?file=vite.config.ts%3AL13-L13&terminal=dev

System Info

StackBlitz Node 16

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

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