diff --git a/vite.config.ts b/vite.config.ts index e94e243..631e77b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,4 +1,3 @@ - import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; @@ -12,5 +11,10 @@ export default defineConfig({ changeOrigin: true, } } + }, + build: { + rollupOptions: { + external: ['react-markdown'] + } } });