Skip to content

Commit

Permalink
升级依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
buyfakett committed Feb 18, 2025
1 parent 7f6d11e commit 269d9b1
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2025-02-18 项目迁移至`rsbuild`
2025-02-18 项目迁移至`Rsbuild`

2025-01-25 增加更多项目界面

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="about me • buyfakett">
<meta name="time-zone" content="Asia/Shanghai">
<title>About Me</title>
<script type="module" src="src/index"></script></head>
</head>
<body>
<div id="root"></div>
</body>
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ export default defineConfig({
root: 'build',
},
},
performance: {
chunkSplit: {
// 代码拆分
strategy: 'split-by-experience',
},
},
});
11 changes: 11 additions & 0 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ const Footer = ({ buildInfo }) => {
/>
<span>Magic UI</span>
</a>
<a
href="https://rsbuild.dev/zh/index"
target="_blank"
className="flex items-center space-x-1 text-blue-400 hover:underline">
<img
src="https://assets.rspack.dev/rsbuild/rsbuild-logo.svg"
alt="Rsbuild"
className="w-4 h-4 rounded-full"
/>
<span>Rsbuild</span>
</a>
</p>
</div>

Expand Down

0 comments on commit 269d9b1

Please sign in to comment.