Skip to content

Commit c13eab4

Browse files
committed
feat(rsbuild): Add config for react-spring
1 parent a55e062 commit c13eab4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: config/rsbuild-config-cozy-app/getRsbuildConfig.js

+5
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ function getRsbuildConfig({
102102
test: /\.(png|jpe?g|gif)$/i,
103103
include: /cozy-dataproxy-lib\/dist\/assets(\/|\\)/,
104104
type: 'asset/resource'
105+
},
106+
// To avoid errors with react-spring used in BottomSheet component
107+
{
108+
test: /react-spring/,
109+
sideEffects: true
105110
}
106111
]
107112
},

0 commit comments

Comments
 (0)