Investigate feature flagging asset builds
To mitigate the risk of rolling out the upgrade to Vue 3/@vue/compat, we should investigate the possibility of feature flagging asset builds.
The idea would be to default to the Vue 2 build, and enabling the flag would switch to @vue/compat build.
This would help with other frontend build migrations. For instance, switching the production build from Webpack to Vite would benefit from this feature flag.
Questions
- groupdistribution How would this inflate GitLab package/image sizes? Would that be a problem?
- groupdeveloper tooling How would this affect pipelines? We'd need to build frontend assets twice, which is already an expensive job.
- ???
Edited by Mark Florian