Skip to content

Commit

Permalink
fix(cli): --minify in dev mode (dcloudio/uni-preset-vue#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Jul 28, 2022
1 parent 9ed195e commit 1c8a4f2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/vite-plugin-uni/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ cli
.option('-d, --debug [feat]', `[string | boolean] show debug logs`)
.option('-f, --filter <filter>', `[string] filter debug logs`)
.option('-m, --mode <mode>', `[string] set env mode`)
.option(
'--minify [minifier]',
`[boolean | "terser" | "esbuild"] enable/disable minification, ` +
`or specify minifier to use (default: terser)`
)
.option('--autoHost [autoHost]', `[string] specify automator hostname`)
.option('--autoPort [autoPort]', `[number] specify automator port`)
.option('--subpackage [subpackage]', `[string] specify subpackage to build`)
Expand Down Expand Up @@ -74,11 +79,6 @@ cli
'--sourcemap',
`[boolean] output source maps for build (default: false)`
)
.option(
'--minify [minifier]',
`[boolean | "terser" | "esbuild"] enable/disable minification, ` +
`or specify minifier to use (default: terser)`
)
.option('--manifest', `[boolean] emit build manifest json`)
.option('--ssrManifest', `[boolean] emit ssr manifest json`)
.option(
Expand Down

0 comments on commit 1c8a4f2

Please sign in to comment.