As already captured in #3 the right way to build swagger-ui is to run
which generate dist directory from src directory.
This process should be part of the build process, and the entire dist directory should be generated and not stored in the project git.