You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tags): only hide shadow tags in production builds
The TagsPlugin's summary already documented that shadow tags are hidden
"in production", but the implementation keyed the decision off serve vs.
build (hideShadow = shadow && !(IsServe && shadow_on_serve)). That hid
shadow tags on every non-serve build, including dev/nonprod deploys, so
authors lost visibility of Draft/Internal/ToDo tags on the preview site.
Gate hiding on Options.IsProduction so shadow tags are:
- visible in `serve` and dev (non-prod) builds, and
- hidden only in production (`--prod`) builds,
with shadow_on_serve still keeping them visible under `serve --prod`.
Add regression tests covering the production/development/serve cases.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments