fix(classic): fix classic web build failures

- replace the Slack OAuth icon with FaSlack from react-icons/fa to avoid the missing SiSlack export.
- add a classic Rsbuild alias for date-fns so Semi resolves its compatible date-fns v2 dependency.
This commit is contained in:
QuentinHsu
2026-07-04 08:25:39 +08:00
parent b6e8ff9dd5
commit 997926bbe1
2 changed files with 7 additions and 3 deletions
+2 -3
View File
@@ -99,13 +99,12 @@ import {
SiOkta,
SiOpenid,
SiReddit,
SiSlack,
SiTelegram,
SiTwitch,
SiWechat,
SiX,
} from 'react-icons/si';
import { FaLinkedin } from 'react-icons/fa';
import { FaLinkedin, FaSlack } from 'react-icons/fa';
// 获取侧边栏Lucide图标组件
export function getLucideIcon(key, selected = false) {
@@ -512,7 +511,7 @@ const oauthProviderIconMap = {
linkedin: FaLinkedin,
x: SiX,
twitter: SiX,
slack: SiSlack,
slack: FaSlack,
telegram: SiTelegram,
wechat: SiWechat,
keycloak: SiKeycloak,