Utilize bundler-ready Vue distribution
What does this MR do?
vue/dist/vue.common.js which is a bundler-friendly distribution of Vue that doesn't hard-code environment variables. The pertinent line is the following:
devtools: "development" !== 'production',
devtools: process.env.NODE_ENV !== 'production',
The former is hard-coded for a development environment because
devtools will always be
true. The latter will change based on the compiled environment provided by webpack, and the dead code (
[Vue warn] and other console errors) will be stripped out in production.
Are there points in the code the reviewer needs to double check?
All builds should pass and webpack should compile successfully. (The bundles which include Vue code should be a little bit lighter as well)
Does this MR meet the acceptance criteria?
- All builds are passing
- Conform by the merge request performance guides
- Conform by the style guides
Branch has no merge conflicts with
master(if it does - rebase it please)
- Squashed related commits together
What are the relevant issue numbers?
Related: #27530 (closed)