From 269d9b17a5c5dde2ff6381b8506c881a515a701c Mon Sep 17 00:00:00 2001 From: buyfakett Date: Tue, 18 Feb 2025 14:21:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- index.html | 2 +- package.json | 9 +++++---- rsbuild.config.ts | 6 ++++++ src/components/Footer.jsx | 11 +++++++++++ 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dcc759..0c73b0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -2025-02-18 项目迁移至`rsbuild` +2025-02-18 项目迁移至`Rsbuild` 2025-01-25 增加更多项目界面 diff --git a/index.html b/index.html index 95dacd8..e3a063b 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ About Me - +
diff --git a/package.json b/package.json index cded1d7..69a526a 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,15 @@ "version": "1.0.0", "private": true, "dependencies": { - "@douyinfe/semi-icons": "^2.74.0-beta.0", - "@douyinfe/semi-illustrations": "^2.74.0-beta.0", - "@douyinfe/semi-ui": "^2.74.0-beta.0", + "@douyinfe/semi-icons": "^2.74.0", + "@douyinfe/semi-illustrations": "^2.74.0", + "@douyinfe/semi-ui": "^2.74.0", + "@emotion/is-prop-valid": "^1.3.1", "@giscus/react": "^3.1.0", "@hi-ui/watermark": "^4.0.8", "class-variance-authority": "^0.7.0", "clsx": "^1.2.1", - "framer-motion": "^12.0.0", + "framer-motion": "^12.4.3", "lucide-react": "^0.460.0", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/rsbuild.config.ts b/rsbuild.config.ts index 270e444..22298cb 100644 --- a/rsbuild.config.ts +++ b/rsbuild.config.ts @@ -22,4 +22,10 @@ export default defineConfig({ root: 'build', }, }, + performance: { + chunkSplit: { + // 代码拆分 + strategy: 'split-by-experience', + }, + }, }); \ No newline at end of file diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index f4a2c8b..563ba4d 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -81,6 +81,17 @@ const Footer = ({ buildInfo }) => { /> Magic UI + + Rsbuild + Rsbuild +