mirror of
https://github.com/2234839/web-font.git
synced 2026-11-30 03:24:04 +08:00
- 零依赖 TTF/OTF 子集化 + woff2 编码,Windows 兼容修复(maxp maxZones、表 checksum) - 字体 API 强缓存 max-age=86400 + ETag/304 协商兜底 - 发布链路切换 build_backend_rs,Dockerfile FROM scratch 仅含 webfont-rs + dist/
5 lines
148 B
Plaintext
5 lines
148 B
Plaintext
# 只需要 dist/ 与 dist_backend/,其余全部排除(cargo target 116M、node_modules、字体库等不进 context)
|
||
*
|
||
!dist/
|
||
!dist_backend/
|