From bd7f0cdc12f9e8fa54960702ace2be3f5acdc6b1 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 4 Mar 2026 18:23:40 -0500 Subject: [PATCH] Adding framer-motion to the vendor chunk config consolidates all framer-motion code into a single eagerly-loaded chunk, ensuring featureNames is computed exactly once before any mutation happens. (#11643) --- vite.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index c74789054b..258f4ddf96 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -185,6 +185,11 @@ export default () => test: /node_modules[\\/](yjs|y-prosemirror|y-indexeddb|@hocuspocus|lib0)/, priority: 20, }, + { + name: "vendor-framer-motion", + test: /node_modules[\\/]framer-motion/, + priority: 20, + }, { name: "vendor-styled", test: /node_modules[\\/]styled-components/,