-
On WSL (2.3.26.0): Run with minify enabled (default): $ rm -rf .vitepress/dist
$ npx vitepress build
vitepress v1.5.0
✓ building client + server bundles...
✓ rendering pages...
build complete in 6.04s.
$ du -sb .vitepress/dist
5473822 .vitepress/dist Run with minify disabled: $ rm -rf .vitepress/dist
$ npx vitepress build --minify false
vitepress v1.5.0
✓ building client + server bundles...
✓ rendering pages...
build complete in 6.14s.
$ du -sb .vitepress/dist
5473822 .vitepress/dist Am I missing something here? The built results are exactly the same: Ref: https://vitepress.dev/reference/cli#vitepress-build |
Beta Was this translation helpful? Give feedback.
Answered by
brc-dd
Jan 26, 2025
Replies: 1 comment 1 reply
-
Hmm, seems like a minimist bug. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Octobug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm, seems like a minimist bug.
--minify false
is being parsed as string instead of boolean. You can use--no-minify
for now.