mirror of
https://github.com/garrytan/gstack.git
synced 2026-12-01 20:34:25 +01:00
Pages from /design-html no longer crash on their first Pretext call (#4860)
Pages `/design-html` builds from the bundled Pretext copy now run instead of throwing `prepareWithSegments is not defined` on their first text-layout call. The skill pasted the bundle into the page's own module script, where its renamed exports never define those names; it now ships a small scaffold that loads the bundle as its own module, still with no network requests. Nothing to do: the next `/design-html` run uses the new recipe. Found and diagnosed by @Akkyman2 in #4855. Co-authored-by: Akkyman2 <178076175+Akkyman2@users.noreply.github.com> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
9 files changed
+181
-12
No files matched your search
@@ -64,3 +64,7 @@ lib/diagram-render/dist/*.json text eol=lf
|
||||
# Byte-for-byte golden CSS for make-pdf --style plain; CRLF on a Windows
|
||||
# checkout would break the exact comparison.
|
||||
make-pdf/test/fixtures/print-css-plain/*.css text eol=lf
|
||||
|
||||
# /design-html splices the vendored Pretext bundle in at the scaffold's PRETEXT_BUNDLE
|
||||
# line with awk, which would not match a CRLF line on a Windows checkout.
|
||||
design-html/vendor/pretext-embed.html text eol=lf
|
||||
Reference in new issue
Block a user