Skip to content

docs(ssr): fix leading-slash configFile example#377

Merged
AndreyYolkin merged 1 commit into
mainfrom
docs/ssr-configfile-path
Jun 13, 2026
Merged

docs(ssr): fix leading-slash configFile example#377
AndreyYolkin merged 1 commit into
mainfrom
docs/ssr-configfile-path

Conversation

@AndreyYolkin

Copy link
Copy Markdown
Contributor

The SSR guide showed styles: { configFile: '/settings.scss' }. A leading-slash path is absolute (filesystem root) and won't resolve to the project — the module resolves a non-absolute configFile against each layer's srcDir. Aligned with the canonical srcDir-relative form used elsewhere in the docs (guide/styling/common-setup.md, guide/styling/caching.md). Spotted while triaging #338.

@AndreyYolkin AndreyYolkin merged commit b5eada2 into main Jun 13, 2026
2 checks passed
@AndreyYolkin AndreyYolkin deleted the docs/ssr-configfile-path branch June 13, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant