Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ docs/
# vercel cli
.vercel/

# OG 生圖腳本的字型與 emoji 快取(CJK 全字集十幾 MB,不進版控)
scripts/.cache/

# test coverage
coverage/

Expand Down
3 changes: 3 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export default defineConfig({
},
injectManifest: {
globPatterns: ['**/*.{js,css,html,svg,png,ico,woff2}'],
// 分享卡只有 FB/X/LINE 的 crawler 會抓,使用者永遠不會開。
// 不排除的話這 66 張(約 2.3MB)會被塞進 service worker 預快取。
globIgnores: ['og/**'],
},
}),
],
Expand Down
Loading
Loading