Skip to content

Commit

Permalink
build: externalize react/jsx-runtime and react-dom/client (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
KlotzJesse authored Dec 9, 2024
1 parent 51c2c3a commit 101e15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
fileName: 'mapkit-react',
},
rollupOptions: {
external: ['react', 'react-dom'],
external: ['react', 'react/jsx-runtime', 'react-dom', 'react-dom/client'],
output: {
globals: {
react: 'React',
Expand Down

0 comments on commit 101e15e

Please sign in to comment.