From 9e4e1f3db078437c56d0796a8cb732dd34407063 Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Fri, 12 May 2023 11:03:47 +0200 Subject: [PATCH] chore: reduce framer-motion bundle size --- apps/docs/components/DocsCoverLogo.tsx | 915 +++++++++++++------------ 1 file changed, 461 insertions(+), 454 deletions(-) diff --git a/apps/docs/components/DocsCoverLogo.tsx b/apps/docs/components/DocsCoverLogo.tsx index 08175f1b060..0634f188f18 100644 --- a/apps/docs/components/DocsCoverLogo.tsx +++ b/apps/docs/components/DocsCoverLogo.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { motion } from 'framer-motion' +import { LazyMotion, domAnimation, m } from 'framer-motion' const DocsCoverLogo = () => { const pathMotionConfig = { @@ -23,466 +23,473 @@ const DocsCoverLogo = () => { return (
- - - - - - - - - - - - - - - - - - - - - - + + + - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
) }