diff --git a/vite.config.ts b/vite.config.ts index 7915ebb201..6eb0e5c278 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,6 +24,7 @@ export default defineConfig({ fileName: (format) => `index.${format}.js`, }, rollupOptions: { + // Specifies external dependencies that should not be bundled into the library. external: [ 'react', 'react-dom',