Steps to Reproduce
npx create-refrakt my-site --template html, and add a plugin with pipeline hooks (e.g. @refrakt-md/storytelling) to refrakt.config.json.- Write two pages, one with a
{% character %} and one with a {% bond %} naming it. - Build.
Expected
The bond's edge is registered, the same as in the SvelteKit adapter.
Actual
No registrations. Plugin hooks never ran.
Fix
Load the configured plugins and pass them to loadContent, as the other adapters do. Cover it with a scaffold test that asserts a plugin hook ran.
Resolution
Completed: 2026-10-24
Branch: claude/milestone-v0-41-3-1mzttp
What was done
packages/create-refrakt/template-html/build.ts: keeps merged.plugins from mergePlugins and passes plugins, projectRoot and siteConfig to loadContent, as createRefraktLoader does.packages/create-refrakt/test/scaffold-builds.test.ts: scaffolds the HTML starter inside the repo (so @refrakt-md/* resolve), adds @refrakt-md/storytelling, a character page and a page that bolds its name, runs the real build.ts (types stripped with esbuild), and asserts the storytelling postProcess hook turned the mention into a link in the built HTML. Fails without the fix.
Notes
projectRoot/siteConfig were added for parity with the other adapters: siteConfig carries entityRoutes and validation settings.