-
-
Notifications
You must be signed in to change notification settings - Fork 9
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 "exports" ("require" "import") property in package.json #7
Comments
Hey what does vendorizing mean? In reality, even with exports defined, main and module should still be used and defined as a bare minimum. Any exports are opt-in and (still) not super common. However, any tool that supports them will always prefer them over main/module/browser so there's no reason to drop them. |
Adding a dependency to the I found that having both |
Right, they work well together. Bundt can't add |
It looks like
bundt
supports"main"
&"module"
. To better support ESM, I found that vendorizing this repo & using"exports"
fixed an import issue, instead of"main"
&"module"
.This occurred with the
mri
repo, where I vendrized it & used:The text was updated successfully, but these errors were encountered: