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

ES Modules require a full path (tarball problems) #82

Open
pygy opened this issue Apr 24, 2020 · 2 comments
Open

ES Modules require a full path (tarball problems) #82

pygy opened this issue Apr 24, 2020 · 2 comments
Labels

Comments

@pygy
Copy link
Contributor

pygy commented Apr 24, 2020

It is nice that Flems is forgiving of missed extensions when importing, but when the code is downloaded, you get error messages about invalid MIME types that are not obvious to decipher.

It would probably be better to mandate the extensions in the sandbox as well.

@porsager
Copy link
Owner

Yeah, you're right.. That's a good idea

@pygy
Copy link
Contributor Author

pygy commented Apr 24, 2020

Note that TypeScript may be an exception here. At least at some point they used to recommend using extension-less imports. Not sure if it is still the case.

@porsager porsager added the bug label Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants