Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Dec 13, 2025

We dropped the CJS entry point in all new libraries (e.g. compare nextcloud-vue or e.g. initial-state), so we can also do here with v4. This will make building a bit easier and reduce bundle size.

(minimal breaking - in 99% of the cases it will just work - on exception could be some jest tests where you need to adjust the transpiling, but that's already the case for e.g. initial-state).

@susnux susnux requested a review from skjnldsv December 13, 2025 00:32
@susnux susnux added 3. to review 3️⃣ Waiting for reviews type: breaking 💥 changes that require a new major version labels Dec 13, 2025
@susnux susnux self-assigned this Dec 13, 2025
@susnux susnux added the type: refactor ♻️ Refactor code (not a bug fix, not a feature just refactoring) label Dec 13, 2025
@susnux susnux added this to the v4.0.0 milestone Dec 13, 2025
We dropped the CJS entry point in all new libraries (e.g. compare
nextcloud-vue or e.g. initial-state), so we can also do here with v4.
This will make building a bit easier and reduce bundle size.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@codecov
Copy link

codecov bot commented Dec 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.21%. Comparing base (0286c52) to head (3392500).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1420   +/-   ##
=======================================
  Coverage   91.21%   91.21%           
=======================================
  Files          24       24           
  Lines         694      694           
  Branches      189      189           
=======================================
  Hits          633      633           
  Misses         50       50           
  Partials       11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@susnux susnux requested review from CarlSchwan and artonge December 16, 2025 13:11
@susnux susnux merged commit 24b985a into main Dec 16, 2025
11 checks passed
@susnux susnux deleted the chore/esm branch December 16, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review 3️⃣ Waiting for reviews type: breaking 💥 changes that require a new major version type: refactor ♻️ Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants