Skip to content

Support for loading modules with dynamic imports #6

@JulioC

Description

@JulioC

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions