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

Modern mode build option #5899

Closed
richterdennis opened this issue Dec 16, 2019 · 2 comments
Closed

Modern mode build option #5899

richterdennis opened this issue Dec 16, 2019 · 2 comments

Comments

@richterdennis
Copy link

@VitalyEmelyanov requested here a modern mode build option. This is still relevant to reduce build size and improve performance in modern browsers (old browsers are still supported).

Vue CLI 3 has a new feature for build - modern mode. It creates 2 versions of scripts for modern and old browsers, linked in specific way through <script type="module">.
I'd like to see such option in quasar-cli, because it can reduce build size and improve performance in modern browsers greatly.

For newer browsers the transpiled ES5 code bundled with polyfills is unnecessary and slower then ES6+ code. Please add an option to quasar.conf, which will then if enabled create two bundles, one modern es6+ bundle and one legacy es5 bundle.

@rstoenescu
Copy link
Member

It's coming. Stay tuned.

@rstoenescu
Copy link
Member

Modern mode will be available in "@quasar/app" v1.9.

$ quasar build [....] --modern
$ quasar dev [...] --modern

# or through quasar.conf.js > build > modern: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants