parcel-bundler/website

Document `parcelDependencies`

mischnic opened this issue · 2 comments

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

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