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)

This commit is contained in:
Tom Moor
2026-03-04 18:23:40 -05:00
committed by GitHub
parent 9a849418b1
commit bd7f0cdc12
+5
View File
@@ -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/,