Skip to content

Commit 9208a75

Browse files
committed
build: reduced confetti bundle size using only card suits shapes
1 parent a886da3 commit 9208a75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bundles/confetti/src/confetti.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async function initPlugins(engine: Engine): Promise<void> {
102102
await engine.register(async e => {
103103
const { loadEmittersPlugin } = await import("@tsparticles/plugin-emitters"),
104104
{ loadMotionPlugin } = await import("@tsparticles/plugin-motion"),
105-
{ loadCardsShape } = await import("@tsparticles/shape-cards"),
105+
{ loadCardSuitsShape } = await import("@tsparticles/shape-cards"),
106106
{ loadHeartShape } = await import("@tsparticles/shape-heart"),
107107
{ loadImageShape } = await import("@tsparticles/shape-image"),
108108
{ loadPolygonShape } = await import("@tsparticles/shape-polygon"),
@@ -118,7 +118,7 @@ async function initPlugins(engine: Engine): Promise<void> {
118118

119119
await loadEmittersPlugin(e);
120120
await loadMotionPlugin(e);
121-
await loadCardsShape(e);
121+
await loadCardSuitsShape(e);
122122
await loadHeartShape(e);
123123
await loadImageShape(e);
124124
await loadPolygonShape(e);

0 commit comments

Comments
 (0)