Component service layouts dev server slow to start
A
Alex Hollis
I am trying to test layouts for the component service locally. I have a very simple manifest.json, markup.hbs, and mock html files. It took 6 minutes for the manifest to load and the server to start and a similar time to stop the server.
2026-06-26T01:06:48.840Z info: Loading layout definition from ./manifest.json
2026-06-26T01:12:18.840Z info: Starting development server...
A
Alex Hollis
I have further debugged and found the issue is due to comments i have in my markup.hsb file. There is a regex in property-consistency.js that causes a catastrophic-backtracking ReDos.
{{!--
Two-zone page layout skeleton.
The zone WRAPPERS carry the shared context tokens (set in layout.css):
.zone--main is comfortable, .zone--aside is compact + tinted. The layout never
references a component — any token-based component placed in a zone responds.
Zone content is injected where the zone is referenced below; the local layout
dev server fills each zone from its --zones mapping.
--}}
<div class="layout layout--two-zone">
<main class="zone zone--main">
{{{zones.main}}}
</main>
</div>