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.sh fails to import modules with multiple dots in the name #627

Closed
lino-levan opened this issue May 12, 2023 · 1 comment
Closed

esm.sh fails to import modules with multiple dots in the name #627

lino-levan opened this issue May 12, 2023 · 1 comment
Labels
deno Not working in Deno

Comments

@lino-levan
Copy link

It seems like modules ending in several dots doesn't work (something gets truncated incorrectly?)

Reproduction

import { something } from "https://esm.sh/@wooorm/[email protected]/lang/source.ts.js"

I get the following error:

/* esm.sh - error */
throw new Error("[esm.sh] " + "resovleESModule: open /esmd/npm/@wooorm/[email protected]/node_modules/@wooorm/starry-night/lang/source.ts: no such file or directory");
export default null;

Additional info

Not really relevant but

  • esm.sh version: v120
  • Deno version: 1.33.2
@ije
Copy link
Member

ije commented May 14, 2023

will deploy the patch later

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

No branches or pull requests

2 participants