Parcel configuration can be shared between projects by publishing a .parcelrc file in a package on npm. This also allows multiple plugins to be distributed together.
This example shows how a company might distribute a shared Parcel configuration to be used between projects. It extends @parcel/config-default and adds several additional plugins.
In addition to sharing configuration between projects, Parcel config packages are also useful to distribute multiple plugins that are required to work together. For example, a transformer and packager combination may be needed for a new file format.
Once published, users can now consume parcel-config-xml in their projects by extending it in addition to the default config of their choice.