cspotcode / cspotcode/v8-compile-cache-lib
Support for loading modules with dynamic imports
- Dominant language
- JavaScript
- Stars
- 12
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Upstream has a bug related to requiring files with ESM `import()` calls. The bug appears to be tracked on https://github.com/zertosh/v8-compile-cache/issues/41
There are a few libraries affected by this, notably NX (see open issue https://github.com/nrwl/nx/issues/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 https://github.com/zertosh/v8-compile-cache/pull/47
Since this for appears to be more active than upstream, I thought it would be good to bring the discussion here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.