Obfuscate Tailwind CSS classes
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- tailwindcss, webpack
- 领域
- build-system, frontend
调研方向
Start with the issue's index.vue, tailwind.css, and index.html examples, then review the referenced webpack-obfuscator approach. Done would mean production markup and generated CSS use the same obfuscated class names without changing their styling.
由索引模型根据 Issue 内容生成。
描述
For performance proposes, everything that can be made to improve final bundle size is welcome. Even better if automated.
As feature request, would be nice to obfuscate classes on production bundle. Using webpack-obfuscator, for example.
Example
Original code:
# index.vue
<div class="text-gray-500">Hey!</div>
# tailwind.css
.text-gray-500 { color: #888; }
Final code:
# index.html
<div class="a">Hey!</div>
# tailwind.css
.a { color: #888; }
- 主要语言
- TypeScript
- 星标
- 1.9k
- 派生
- 193
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nuxt-modules/tailwindcss 的其他 Issue
-
bug
难度 4/5 1-2 天 新手友好度 58/100
nuxt-modules/tailwindcss#1047 · 1 个 reaction ·
-
Version 6未关闭bug
难度 4/5 3-5 天 新手友好度 35/100
nuxt-modules/tailwindcss#1042 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
nuxt-modules/tailwindcss#1039 · 2 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 45/100
nuxt-modules/tailwindcss#1034 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
nuxt-modules/tailwindcss#1033 · 1 条评论 ·
查看 nuxt-modules/tailwindcss 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
polarsource/polar#15580 ·
维护者通常 1 天内回复
-
accepted bug via-triage
难度 2/5 1-3 小时 新手友好度 69/100
pingdotgg/t3code#20931 · 1 条评论 ·
维护者通常 1 天内回复
-
bug/1-unconfirmed kind/bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
-
难度 2/5 1-3 小时 新手友好度 72/100
ranxianglei/billion-context#3583 ·
维护者通常 1 天内回复