Skip to content

Commit

Permalink
fix(cli): should not empty out dir (#11423)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Dec 26, 2022
1 parent c6f1d99 commit 2d9148d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vant-cli/src/config/vite.package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export function getViteConfigForPackage({
: undefined,

build: {
emptyOutDir: false,

lib: {
name,
entry,
Expand Down

0 comments on commit 2d9148d

Please sign in to comment.