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

fix: new import.meta implement by ponyfill #428

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Sep 23, 2024

in commonjs, import.meta.resolve use nodejs buildin require.resolve

in esmodule, import.meta.resolve use nodejs buildin import.meta.resolve or createRequest(filename).resolve

add import.meta.filename / import.meta.dirname support

in commonjs, import.meta.resolve use nodejs buildin require.resolve
in esmodule, import.meta.resolve use nodejs buildin import.meta.resolve or createRequest(filename).resolve
add import.meta.filename / import.meta.dirname support
@Gaubee Gaubee force-pushed the fix-import-meta-resolve branch from 387db84 to 0b33a97 Compare September 23, 2024 04:37
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

Successfully merging this pull request may close these issues.

1 participant