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

import.meta.url doesn't work #367

Open
yukulele opened this issue Jan 19, 2024 · 0 comments
Open

import.meta.url doesn't work #367

yukulele opened this issue Jan 19, 2024 · 0 comments

Comments

@yukulele
Copy link

yukulele commented Jan 19, 2024

Skypack seems to convert import.meta.url into import_meta.url where import_meta is initialized with an {} empty object making import.meta.url undefined.

Example:
https://github.com/fend25/lib_importmetaurl_dot/blob/master/index.js
is converted to https://cdn.skypack.dev//-/[email protected]/dist=es2019,mode=imports/optimized/lib_importmetaurl_dot.js

@yukulele yukulele changed the title import.meta.url dosen't work import.meta.url doesn't work Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant