Skip to content

Published ESM code has imports without file extensions #110

Open
@ascorbic

Description

@ascorbic

Describe the bug
The compiled packages that are published on npm include ESM-compiled files with internal imports without the .js file extension. This is invalid, and is causing errors when trying to use the packages with Vite.

To Reproduce

See the published code

Expected behavior
Imports are in the form export { Expr } from "./ast.js", not export { Expr } from "./ast"

Screenshots
If applicable, add screenshots to help explain your problem.

Package/Area

  • Expressions
  • Workflow Parser
  • Language Service
  • Language Server

Package Version
v1.x.y

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions