Skip to content

Commit

Permalink
refactor(cli): build mode use relative base
Browse files Browse the repository at this point in the history
affects: @varlet/cli
  • Loading branch information
haoziqaq committed Sep 26, 2021
1 parent 53087fc commit 2b3624b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/varlet-cli/src/config/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function getBuildConfig(varletConfig: Record<string, any>): InlineConfig

return {
...devConfig,
base: './',
build: {
outDir: SITE_OUTPUT_PATH,
brotliSize: false,
Expand Down

0 comments on commit 2b3624b

Please sign in to comment.