flems icon indicating copy to clipboard operation
flems copied to clipboard

ES Modules require a full path (tarball problems)

Open pygy opened this issue 4 years ago • 2 comments

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.

pygy avatar Apr 24 '20 21:04 pygy

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

porsager avatar Apr 24 '20 21:04 porsager

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.

pygy avatar Apr 24 '20 21:04 pygy