diff --git a/index.html b/index.html index c4f5e7c..0da6413 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,8 @@ -
) { ) } -const headerAnimation: Variants = { - initial: { opacity: 0, transition: { duration: 0.3 } }, - animate: { opacity: 1, transition: { duration: 0.3, delay: 0.3 } }, - exit: { opacity: 0, transition: { duration: 0.3 } }, -} - const maxZIndex = 2147483647 const bodyVariantBackwards: Variant = { diff --git a/src/pages/network/animations/ContentDistribution.tsx b/src/pages/network/animations/ContentDistribution.tsx index 0db0b4f..c55e457 100644 --- a/src/pages/network/animations/ContentDistribution.tsx +++ b/src/pages/network/animations/ContentDistribution.tsx @@ -7,7 +7,6 @@ type Props = { const ACCENT = '#00b8db'; const STROKE = '#111827'; -const GRAY = '#9CA3AF'; const GRAY_LT = '#E5E7EB'; const IconSquare = () => ( diff --git a/vite.config.ts b/vite.config.ts index d9b7e7d..3c5c58e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,4 +10,22 @@ export default defineConfig({ '@': path.resolve(__dirname, './src'), }, }, + build: { + rollupOptions: { + output: { + manualChunks: { + react: ['react', 'react-dom', 'react-router', 'react-router-dom'], + framer: ['framer-motion'], + motion: ['motion/react'], + antd: [ + 'antd', + 'rc-field-form', + 'rc-motion', + '@ant-design/cssinjs', + '@rc-component/async-validator', + ], + }, + }, + }, + }, })