Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap swagger-ui with swagger-ui-dist #13777

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Dec 1, 2020

The prebuilt version of swagger-ui is identical to the regular one but brings the benefit of faster webpack compilation and less npm dependencies.

The prebuilt version of swagger-ui is identical to the regular one but
brings the benefit of faster webpack compilation and less npm
dependencies so it npm installs will speed up too.
@techknowlogick techknowlogick added type/refactoring Existing code has been cleaned up. There should be no new functionality. topic/ui Change the appearance of the Gitea UI labels Dec 1, 2020
@techknowlogick techknowlogick added this to the 1.14.0 milestone Dec 1, 2020
@silverwind
Copy link
Member Author

Interestingly webpack was a minute slower this run, will test locally.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 1, 2020
@silverwind
Copy link
Member Author

Ok, build speed and output size back to normal. I don't really see a webpack speed improvement but I guess dropping 111 npm dependencies is still a net gain overall.

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 1, 2020
@6543 6543 added dependencies and removed topic/ui Change the appearance of the Gitea UI labels Dec 1, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 2, 2020
@techknowlogick techknowlogick merged commit 253add8 into go-gitea:master Dec 2, 2020
@silverwind silverwind deleted the swaggerbundle branch December 2, 2020 07:39
@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/refactoring Existing code has been cleaned up. There should be no new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants