Skip to content

Conversation

tibramo
Copy link
Contributor

@tibramo tibramo commented Sep 23, 2018

Building a project as a library currently always results in a CommonJS bundle, UMD bundle and a minified UMD bundle.
This feature adds an optional parameter "formats" to the build command to specify the desired output formats. It defaults to "commonjs,umd,umd-min", so the result is the same as before if the parameter is omitted.

@haoqunjiang haoqunjiang merged commit 1e200c5 into vuejs:dev Oct 30, 2018
@tibramo tibramo deleted the build-library-formats branch November 2, 2018 21:48
zigzaggin added a commit to zigzaggin/vue-cli that referenced this pull request Jan 29, 2019
… cli-service.md

Pull vuejs#2583 added --formats to the cli build commands but did not add documentation to the guide for the flag
haoqunjiang pushed a commit that referenced this pull request Jan 29, 2019
…3386) [ci skip]

Pull #2583 added --formats to the cli build commands but did not add documentation to the guide for the flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants