Skip to content

Commit

Permalink
Change r2wc externals to match react-dom/client (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmomberger-bitovi authored Oct 3, 2023
1 parent 4de563a commit baffe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-to-web-component/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
formats: ["es", "cjs"],
},
rollupOptions: {
external: ["react", "react-dom", "@r2wc/core"],
external: ["react", "react-dom/client", "@r2wc/core"],
},
},
plugins: [dts()],
Expand Down

0 comments on commit baffe4c

Please sign in to comment.