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

Remove lightningcss #29070

Merged
merged 1 commit into from Feb 7, 2024
Merged

Remove lightningcss #29070

merged 1 commit into from Feb 7, 2024

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Feb 6, 2024

Remove lightningcss and minify with esbuild again. The size of output CSS will increase by around 1.4%, but I think it's worth it to allow building gitea in more cases like the one in the linked issue. We can reconsider once lightningcss becomes more stable.

Fixes: #29058
Upstream issue: parcel-bundler/lightningcss#671

Note, I had to reinstall some dependencies to fully get rid of it in the lockfile, that's why some indirect dependencies were bumped here as well.

Remove lightningcss and minify with esbuild again. The size of CSS will
slightly increase, but I think it's worth it to allow building gitea in
more cases like the one in the linked issue. We can reconsider once
lightningcss becomes more stable.

Fixes: go-gitea#29058
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 6, 2024
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 6, 2024
@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 Feb 7, 2024
@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 Feb 7, 2024
@wxiaoguang wxiaoguang merged commit 5849d4f into go-gitea:main Feb 7, 2024
25 checks passed
@GiteaBot GiteaBot added this to the 1.22.0 milestone Feb 7, 2024
@silverwind silverwind deleted the rmlightningcss branch February 7, 2024 16:50
silverwind added a commit to silverwind/gitea that referenced this pull request Feb 20, 2024
Remove lightningcss and minify with esbuild again. The size of output
CSS will increase by around 1.4%, but I think it's worth it to allow
building gitea in more cases like the one in the linked issue. We can
reconsider once lightningcss becomes more stable.

Fixes: go-gitea#29058
6543 pushed a commit to 6543-forks/gitea that referenced this pull request Feb 26, 2024
Remove lightningcss and minify with esbuild again. The size of output
CSS will increase by around 1.4%, but I think it's worth it to allow
building gitea in more cases like the one in the linked issue. We can
reconsider once lightningcss becomes more stable.

Fixes: go-gitea#29058
(cherry picked from commit 5849d4f)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
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. modifies/internal size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bus error (webpack) when building Gitea
4 participants