·
0 commits
to 83e309ac678de05f663774cefca63b26a4335ed2
since this release
Highlights
Hardening pass driven by a real-world 275-page Mintlify migration deployed to Cloudflare Workers static assets.
checkpassing now predictsbuildpassing. Every page is parsed with the build's MDX syntax config, and JSX expressions are scope-checked: a literal{snake_case}placeholder in prose (valid MDX, dies at prerender with aReferenceError) is reported at check time asfile:line:colwith a wrap-in-backticks hint. (f78a22c)- Build failures point at your source file. A prerender error used to surface as a 30-line stack into
.prerender/chunks/<page>_<hash>.mjs; the build now re-runs the MDX scan for an exact source diagnosis and otherwise maps the chunk name back to the page. (b0fb2a1) dist/no longer ships repo internals..gitgitlink files (submodule checkouts leaked a local path), dotfiles,Makefile,wrangler.*,vercel.json,netlify.toml, and*.bakare excluded by default;.well-known/and.nojekyllstill ship, and a!patternin.tanglyignorere-includes anything overridable. (c5b025c)
Changes
Features
- feat(theme-ui): emit a
<meta name="generator" content="Tangly vX.Y.Z">tag in every page head, so the framework and version of a built site can be identified over plain HTTP (curlthe page and grepname="generator"). The version is injected by the Tangly integration asimport.meta.env.TANGLY_VERSION. - feat(cli):
checkparses MDX and flags unbound expression identifiers before they become prerenderReferenceErrors (f78a22c) - feat(cli): build failures report the source
.mdxatfile:line:colinstead of a prerender chunk stack (b0fb2a1) - feat(cli):
migraterewrites Mintlify alias themes totangand prompts forsiteUrlwhen absent (7ff04ca)
Fixes
- fix(build): stop shipping repo internals (
.gitgitlink, dotfiles,Makefile,wrangler.*,*.bak) intodist/(c5b025c) - fix(theme-ui): keep page chrome (contextual menu, breadcrumbs, pagination, TOC) out of the Pagefind search index (
e3723c6)
Docs
- docs(guides): Cloudflare Workers static-assets deploy recipe —
html_handling: "drop-trailing-slash"(output is directory-style but canonicals are no-slash) andnot_found_handling: "404-page"