Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

exports field in package.json is ignored #924

Open
JonnyBurger opened this issue Jan 14, 2023 · 0 comments
Open

exports field in package.json is ignored #924

JonnyBurger opened this issue Jan 14, 2023 · 0 comments

Comments

@JonnyBurger
Copy link

I received a bug report from one of our users and we were able to find the following behavior:

The following works:

node -e "console.log(require('remotion/version'))"

but this does not:

node -r esm-wallaby -e "console.log(require('remotion/version'))"

Adding an exports field to package.json is supported by Node.JS since a while, so this module should not break the module resolution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant