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

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:

npm i remotion@3.3.31 esm

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant