mirror of
https://github.com/maelstrom-cms/odin.git
synced 2026-04-25 08:16:03 +03:00
[PR #27] [CLOSED] Add tailwind config to remove unused CSS #51
Labels
No labels
bug
enhancement
help wanted
pull-request
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/odin-maelstrom-cms#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maelstrom-cms/odin/pull/27
Author: @zaherg
Created: 5/27/2020
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
3759878adding tailwind config to purge non used classes on production9d96baaadding node_modules directory too📊 Changes
1 file changed (+10 additions, -0 deletions)
View changed files
➕
tailwind.config.js(+10 -0)📄 Description
Using the config we can automatically remove unused css from the generated css file on production and reduce the size from 2mb to ~500Kib
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.