Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: build library with specified formats #2583

Merged
merged 2 commits into from Oct 30, 2018
Merged

feat: build library with specified formats #2583

merged 2 commits into from Oct 30, 2018

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.

@sodatea sodatea merged commit 1e200c5 into vuejs:dev Oct 30, 2018
3.1.0 automation moved this from To review to Done 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
sodatea 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
No open projects
3.1.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants