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

build: Fix dynamic import of metadata modules on Windows (again) #780

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

kellnerd
Copy link
Collaborator

I already did this in #34, but it was reverted when we switched from ESM to CJS in #147.
Now that a2e7fc7 reintroduced ESM with tsx, we need this patch again.

See the problem discussion at #779 (comment) and kellnerd/userscript-bundler#4.

@kellnerd kellnerd added the build label Jul 23, 2024
I already did this in #34, but it was reverted when we switched from
ESM to CJS in #147.
Now that a2e7fc7 reintroduced ESM with `tsx`, we need this patch again.
@kellnerd
Copy link
Collaborator Author

A quick check under Linux confirmed that the build process is still working as well.

@kellnerd kellnerd merged commit e267bee into main Jul 25, 2024
11 checks passed
@kellnerd kellnerd deleted the dynamic-esm-import-windows branch July 25, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant