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

Document parcelDependencies #966

Open
mischnic opened this issue Oct 17, 2021 · 2 comments
Open

Document parcelDependencies #966

mischnic opened this issue Oct 17, 2021 · 2 comments

Comments

@mischnic
Copy link
Member

On https://parceljs.org/plugin-system/configuration/

@jaredatron
Copy link

how does parcelDependencies work? Can we link to something here for now?

@mischnic
Copy link
Member Author

You can specify plugins in a Parcel config that are not declared as dependencies to make Parcel install them only when they are needed for the first time (lazyily). The question then becomes: which plugin version should Parcel autoinstall? And that is just the version specified in parcelDependencies. So it will lookup the range there and then execute yarn add -D parcel-plugin-something@specifiedVersion

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

No branches or pull requests

2 participants