You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I'm working on a project that attempts to deploy ES2015 code to production. The idea was inspired by Philip Walton's post.
I hacked vuejs-templates/webpack to output dual bundles with feature detection to downgrade. The benefit is significant: ES2015 script execution time is only about 55% of ES5! And the bundle size reduces too. If vue (as well as vue-router, vuex, etc.) could provide ES2015 bundles, the performance boost can be even more significant.
According to the es6 compatibility table, ES2015 compatible browsers have got a lot of market shares. Although vue relies on ES5 feature Object.defineProperty, I think it is still meaningful to provide ES2015 bundle as an option.
What does the proposed API look like?
This request is not about some particular APIs.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Recently I'm working on a project that attempts to deploy ES2015 code to production. The idea was inspired by Philip Walton's post.
I hacked vuejs-templates/webpack to output dual bundles with feature detection to downgrade. The benefit is significant: ES2015 script execution time is only about 55% of ES5! And the bundle size reduces too. If vue (as well as vue-router, vuex, etc.) could provide ES2015 bundles, the performance boost can be even more significant.
According to the es6 compatibility table, ES2015 compatible browsers have got a lot of market shares. Although vue relies on ES5 feature
Object.defineProperty
, I think it is still meaningful to provide ES2015 bundle as an option.What does the proposed API look like?
This request is not about some particular APIs.
The text was updated successfully, but these errors were encountered: