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

esm support #568

Open
jimmywarting opened this issue Jul 6, 2022 · 0 comments
Open

esm support #568

jimmywarting opened this issue Jul 6, 2022 · 0 comments

Comments

@jimmywarting
Copy link

not so much is needed to make this full ESM compatible without the need for a build tool...

just need to slam in full relative path and not using extension less paths, esm was not built for that.

Mandatory file extensions #

A file extension must be provided when using the import keyword to resolve relative or absolute specifiers. Directory indexes (e.g. './startup/index.js') must also be fully specified.

This behavior matches how import behaves in browser environments, assuming a typically configured server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant