Every RJSF package ships only ESM, and the dist builds are gone
Detect
@rjsf/<package>/dist,dist/index.cjsordist/<name>.esm.jsin your code, bundler config, JestmoduleNameMapperor other test config.- Your build or test run fails to resolve one of those paths after the upgrade.
Change
Each package now publishes per-file modules and declarations in lib/ only. The CommonJS build (dist/index.cjs), the bundled ESM build (dist/<name>.esm.js) and the ./dist and ./dist/*.cjs export paths are gone.
Point every alias, mapping and import at the package root:
-import Form from '@rjsf/core/dist/index.cjs';
+import Form from '@rjsf/core';
Delete any config entry that maps an @rjsf/* package to a dist/ file. import from a bundler or from Node works as before. require() keeps working on every supported Node version, which loads ESM packages natively.
Deep imports through lib/ don't resolve either, see imports from a package's lib folder no longer resolve. If you load a UMD bundle from a CDN, see the UMD bundles are gone.
Verify
- No config or code refers to an
@rjsf/*dist/path. - Your build and test runs resolve every
@rjsf/*import.
Also read: