We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of putting the CJS build at lib/cjs, put it at lib/ so that it'll be at the root of the package. The esm/ folder will remain.
lib/cjs
lib/
esm/
This allows the package to do deep importing without having to reference the cjs/ folder.
cjs/
We want this:
import { getValue } from 'my-lib/getters'
Instead of:
import { getValue } from 'my-lib/cjs/getters'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🚀 Feature Proposal
Instead of putting the CJS build at
lib/cjs
, put it atlib/
so that it'll be at the root of the package. Theesm/
folder will remain.Motivation
This allows the package to do deep importing without having to reference the
cjs/
folder.Example
We want this:
Instead of:
The text was updated successfully, but these errors were encountered: