Skip to content

Commit 8568232

Browse files
zigzagginhaoqunjiang
authored andcommitted
docs: add documentation for --formats to the build options section (#3386) [ci skip]
Pull #2583 added --formats to the cli build commands but did not add documentation to the guide for the flag
1 parent 3a1b1d8 commit 8568232

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guide/cli-service.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Options:
6767
--dest specify output directory (default: dist)
6868
--modern build app targeting modern browsers with auto fallback
6969
--target app | lib | wc | wc-async (default: app)
70+
--formats list of output formats for library builds (default: commonjs,umd,umd-min)
7071
--name name for lib or web-component mode (default: "name" in package.json or entry filename)
7172
--no-clean do not remove the dist directory before building the project
7273
--report generate report.html to help analyze bundle content

0 commit comments

Comments
 (0)