Home > @userfrosting/gulp-bundle-assets > CollisionReactions
Rules for how a bundle collision may be treated.
Signature:
export declare enum CollisionReactions | Member | Value | Description |
|---|---|---|
| error | 3 |
Throw an error on encountering an already defined bundle. |
| ignore | 2 |
Leave the existing bundle alone. |
| merge | 1 |
Merge with the existing bundle, with order preserved as much as possible. Colliding arrays will be prepended to the existing, keep an eye out for duplicates. |
| replace | 0 |
Replace the existing bundle. |