diff --git a/packages/website/vite.config.ts b/packages/website/vite.config.ts new file mode 100644 index 000000000..297b82e23 --- /dev/null +++ b/packages/website/vite.config.ts @@ -0,0 +1,13 @@ +/** @type {import('vite').UserConfig} */ +export default ({ mode }: { mode: string }) => { + if (mode === 'development') { + return { + ssr: { + optimizeDeps: { + include: ['next-mdx-remote/rsc'], + }, + }, + }; + } + return {}; +};