diff --git a/.dumirc.ts b/.dumirc.ts index e9a4643..8b8b92e 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -10,6 +10,7 @@ const isWin = process.platform === 'win32'; const themeConfig: SiteThemeConfig = { actions: [ { + icon: 'Github', link: homepage, openExternal: true, text: 'Github', @@ -69,6 +70,7 @@ export default defineConfig({ exportStatic: {}, extraBabelPlugins: ['antd-style'], favicons: ['https://lobehub.com/favicon.ico'], + jsMinifier: 'swc', locales: [{ id: 'en-US', name: 'English' }], mfsu: isWin ? undefined : {}, npmClient: 'pnpm', diff --git a/package.json b/package.json index b81ca77..4fdc0ca 100644 --- a/package.json +++ b/package.json @@ -112,6 +112,7 @@ "@types/react-dom": "^18.3.1", "@types/uuid": "^9.0.8", "@vercel/node": "^3.2.26", + "babel-plugin-antd-style": "^1.0.4", "commitlint": "^19.6.0", "concurrently": "^9.1.0", "dumi": "^2.4.14",