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

Support for loading modules with dynamic imports #6

Open
JulioC opened this issue Sep 2, 2023 · 0 comments
Open

Support for loading modules with dynamic imports #6

JulioC opened this issue Sep 2, 2023 · 0 comments

Comments

@JulioC
Copy link

JulioC commented Sep 2, 2023

Upstream has a bug related to requiring files with ESM import() calls. The bug appears to be tracked on zertosh/v8-compile-cache#41

There are a few libraries affected by this, notably NX (see open issue nrwl/nx#18974) and ESLint (which dropped v8-compile-cache due to this https://twitter.com/slicknet/status/1559619176230047744)

I've got a workaround which appears to work for my use case (see the NX issue). I've filled a PR with that workaround in upstream zertosh/v8-compile-cache#47

Since this for appears to be more active than upstream, I thought it would be good to bring the discussion here.

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