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
Package Version
v1.x.y
Additional context
Add any other context about the problem here.
Describe the bug
The compiled packages that are published on npm include ESM-compiled files with internal imports without the
.jsfile 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", notexport { Expr } from "./ast"Screenshots
If applicable, add screenshots to help explain your problem.
Package/Area
Package Version
v1.x.yAdditional context
Add any other context about the problem here.