From b24e8876ead2d91e1688cc616f0d466172ed47b3 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 18 Jun 2024 12:18:56 +0200 Subject: [PATCH] Mark all dependencies as external If we don't do that, they will be included in the bundle. --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 2ba2fbc1..a9c8f64a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -33,9 +33,13 @@ export default defineConfig({ "react/jsx-dev-runtime", "classnames", "vaul", + "@floating-ui/react", + "@floating-ui/react-dom", "@radix-ui/react-context-menu", "@radix-ui/react-dropdown-menu", "@radix-ui/react-form", + "@radix-ui/react-separator", + "@radix-ui/react-slot", "@radix-ui/react-tooltip", ],