Skip to content
Merged
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
14 changes: 13 additions & 1 deletion website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,19 @@ export default defineConfig({
lastmod: new Date(),
filter: (page) => !page.includes("/blog"),
}),
inline(),
inline({
// @playform/inline wraps the `beasties` library, so the config
// key is "Beasties" (not "Critters"). An unrecognized key is
// silently ignored — which is how the initial fix missed its
// target and docs pages kept rendering unstyled with the
// default "media" preload strategy.
Beasties: {
// "swap" converts deferred links to preloads that swap to
// rel="stylesheet" once loaded, while still inlining critical
// CSS so the page renders styled on first paint.
preload: "swap",
},
Comment thread
cursor[bot] marked this conversation as resolved.
}),
],
markdown: {
shikiConfig: {
Expand Down
Loading