Skip to content

Commit

Permalink
fix(bridge-react): prevent react-dom/client being bundled into dist/i…
Browse files Browse the repository at this point in the history
…ndex.*.js

this otherwise causes the package to be incompatible with a react 19

BREAKING CHANGE: react-dom/client code will not be bundled into the bridge-react module anymore
  • Loading branch information
Francis Duvivier committed Feb 3, 2025
1 parent f141396 commit 313644e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/bridge/bridge-react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default defineConfig({
external: [
...perDepsKeys,
'@remix-run/router',
/react-dom\/.*/,
'react-router',
'react-router-dom/',
'react-router-dom/index.js',
Expand Down

0 comments on commit 313644e

Please sign in to comment.