Ensure assets loaded in development are the same in production
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
Recently there was an issue with images not loading in the welcome page #34768 (closed). This bug was not caught in the related MR because the way assets are loaded is different in development and production - so much so that a line can work in development, but fail in production.
The big question
Is there a way for us to ensure that these kinds of production issues are caught in the development environment?
Demo
(From #34768 (comment 240586178))
The first tab is running the gitlab-org/gitlab-ee:12.4.2-ee.0 docker image. The second tab is running the local gdk. You'll notice that the image is not found in production environment, but it is found in the development environment.