Skip to content

fix: avoid literally writing import.meta.url#98

Open
uhyo wants to merge 3 commits into
egoist:devfrom
uhyo:import-meta-url-fix
Open

fix: avoid literally writing import.meta.url#98
uhyo wants to merge 3 commits into
egoist:devfrom
uhyo:import-meta-url-fix

Conversation

@uhyo

@uhyo uhyo commented Nov 3, 2023

Copy link
Copy Markdown

Hi, I just forked this repository and run tests locally to see the "import.meta.url support" test fail.

Some investigation showed that the litral 'import.meta.url' in node.js was somehow replaced with __import_meta_url after build.

This PR mitigates the problem by avoiding literal import.meta.url.

@codesandbox

codesandbox Bot commented Nov 3, 2023

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@uhyo
uhyo marked this pull request as ready for review November 3, 2023 13:04
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