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

Use modern flag to build production files #30

Merged
merged 1 commit into from
Sep 26, 2018
Merged

Use modern flag to build production files #30

merged 1 commit into from
Sep 26, 2018

Conversation

Trikolon
Copy link
Collaborator

Added to --modern flag to the vue-cli build command.
This way vue cli builds two versions of the production files. One for modern browsers and one for legacy browsers. This reduces bundle sizes for modern browsers significantly.

For more details see https://cli.vuejs.org/guide/browser-compatibility.html#modern-mode

@Trikolon Trikolon added the enhancement New feature or request label Sep 25, 2018
@Trikolon Trikolon requested a review from Endebert September 25, 2018 15:14
@Endebert Endebert merged commit 634794c into Endebert:dev Sep 26, 2018
Endebert pushed a commit that referenced this pull request Sep 28, 2018
* now creates two build versions in order to optimize modern & legacy browser support
* see https://cli.vuejs.org/guide/browser-compatibility.html#modern-mode
Endebert pushed a commit that referenced this pull request Oct 17, 2018
* now creates two build versions in order to optimize modern & legacy browser support
* see https://cli.vuejs.org/guide/browser-compatibility.html#modern-mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants