Skip to content

Commit

Permalink
fix(component): 🐛 add gbeata component publicPath
Browse files Browse the repository at this point in the history
  • Loading branch information
G committed May 15, 2024
1 parent 41fc3ae commit 2c87892
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gbeata/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from 'dumi';

export default defineConfig({
outputPath: '../../gbeata-dist',
publicPath:
process.env.NODE_ENV === 'production' ? '/gbeata-component-docs/' : '/',
themeConfig: {
name: 'gbeata',
mfsu: false,
Expand Down

0 comments on commit 2c87892

Please sign in to comment.