Skip to content

Commit

Permalink
🔧 chore: Fix vercel build
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jan 8, 2025
1 parent 1449e73 commit de1274d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@ export default defineConfig({
'dumi-theme-lobehub': resolve(__dirname, '../src'),
},
base: '/',
codeSplitting: {
jsStrategy: 'granularChunks',
},
define: {
'process.env': process.env,
},
exportStatic: {},
extraBabelPlugins: ['babel-plugin-antd-style'],
favicons: ['https://lobehub.com/favicon.ico'],
jsMinifier: 'swc',
locales: [{ id: 'en-US', name: 'English' }],
mfsu: isWin ? undefined : {},
npmClient: 'pnpm',
Expand Down

0 comments on commit de1274d

Please sign in to comment.