Skip to content

Commit

Permalink
Update .dumirc.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 11, 2023
1 parent 1f134c8 commit 8746db5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const isProd = process.env.NODE_ENV === 'production';
const isProdSite = process.env.PREVIEW !== '1' && isProd;

export default defineConfig({
// 部署在非根目录时, base 和 publicPath 都需要配置
base: isProdSite ? '/pro-flow/' : '/',
publicPath: isProdSite ? '/pro-flow/' : '/',
outputPath: 'docs-dist',
favicons: [
'https://mdn.alipayobjects.com/huamei_d2ejos/afts/img/A*j10nRoiMh0MAAAAAAAAAAAAADvl6AQ/original',
Expand Down

0 comments on commit 8746db5

Please sign in to comment.