Skip to content

feat(postcss-config): resolve the @sage styles path from the project layout - #153

Closed
YvetteNikolov wants to merge 1 commit into
feat/project-layout-resolverfrom
feat/postcss-sage-alias
Closed

YvetteNikolov wants to merge 1 commit into
feat/project-layout-resolverfrom
feat/postcss-sage-alias

Conversation

@YvetteNikolov

Copy link
Copy Markdown
Contributor

Split from #144. Stacked on #150.

  • The default pathToStyles for the @sage import alias is resolved from the project layout via shared-utils: the default theme's resources/styles.
  • Falls back to web/app/themes/sage/resources/styles when no layout resolves.
  • Passing pathToStyles explicitly still overrides it.

…layout

The @Sage import alias pointed at the hardcoded web/app/themes/sage path.
It now resolves to the default theme's resources/styles, falling back to
the historical path when no project layout resolves.
@YvetteNikolov
YvetteNikolov requested a review from a team as a code owner October 8, 2026 14:01
@YvetteNikolov
YvetteNikolov requested review from FreakyWizard, JasperS20, WybeBosch, Yannicvanveen, laravdiemen and rivanuff and removed request for a team October 8, 2026 14:01
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