Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/esm-only.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@react-spring/web': major
---

refactor!: ship ESM-only builds

Every package now publishes a single modern ESM bundle (`dist/<name>.modern.mjs`) and drops its CommonJS output, the Webpack 4 `legacy-esm` fallback, and the orphaned pre-compiled dev/prod variants.

ESM consumers (Vite, webpack 5, Next, esbuild, Bun, Deno, native Node ESM) are unaffected. CommonJS consumers must migrate to ESM or run on Node ≥22.12, where `require()` of an ESM package is supported. Webpack 4 is no longer supported.
35 changes: 0 additions & 35 deletions .github/publish-ci/cra5/.gitignore

This file was deleted.

46 changes: 0 additions & 46 deletions .github/publish-ci/cra5/README.md

This file was deleted.

Loading
Loading