Skip to content

Commit

Permalink
externalize react-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
artursapek committed Mar 7, 2024
1 parent 90ee530 commit 19a05e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wormhole-connect/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default defineConfig(({ command, mode }) => {
index: 'src/index.ts',
},
output,
external: ['react', ...external],
external: ['react', 'react-dom', ...external],
},
},
plugins,
Expand Down

0 comments on commit 19a05e8

Please sign in to comment.