Skip to content

Conversation

@JF-Cozy
Copy link
Collaborator

@JF-Cozy JF-Cozy commented Sep 3, 2025

related to #2837
revert #2842

I hope this is the final solution :) The problem is that we need to apply the patch in cozy-ui to build the documentation with webpack 4, but we don't need the patch in an app because we use rsbuild (which doesn't cause any problems).

However, when installing packages in the app, cozy-ui dependencies are installed in the app's node_modules and not in node_modules/cozy-ui/node_modules. Cozy-ui's postinstall then tries to apply a patch to a library it can't find.

@bundlemon
Copy link

bundlemon bot commented Sep 3, 2025

BundleMon

Unchanged files (3)
Status Path Size Limits
dist/cozy-ui.min.css
20.02KB -
transpiled/react/stylesheet.css
17.74KB -
dist/cozy-ui.utils.min.css
10.97KB -

No change in files bundle size

Unchanged groups (1)
Status Path Size Limits
transpiled/react/**
1.01MB -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@JF-Cozy JF-Cozy merged commit 8c9cc6c into master Sep 3, 2025
12 checks passed
@JF-Cozy JF-Cozy deleted the fix/package branch September 3, 2025 13:11
@cozy-bot
Copy link

cozy-bot commented Sep 3, 2025

🎉 This PR is included in version 128.3.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants