Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Published ESM code has imports without file extensions #110

Open
4 tasks done
ascorbic opened this issue Sep 26, 2024 · 0 comments
Open
4 tasks done

Published ESM code has imports without file extensions #110

ascorbic opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ascorbic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant