Skip to content

Let consuming apps own their postcss config - #560

Open
NullVoxPopuli-ai-agent wants to merge 1 commit into
ember-learn:masterfrom
NullVoxPopuli-ai-agent:respect-app-postcss
Open

Let consuming apps own their postcss config#560
NullVoxPopuli-ai-agent wants to merge 1 commit into
ember-learn:masterfrom
NullVoxPopuli-ai-agent:respect-app-postcss

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

The included hook currently overwrites app.options.postcssOptions unconditionally, so a consuming app can never own its postcss config. This makes the injection a default instead: apps that don't configure postcss keep exactly today's behavior, and apps that do configure it win.

This is the unblocking step for the CSS part of the v2 path (#551): once consumers (ember-website et al.) declare their own postcss config, the injection can be removed entirely in a later step.

Test plan

  • pnpm lint (js, hbs, css, format) passes
  • pnpm exec ember test — 27 tests, 0 failures (dummy app sets no postcssOptions, exercising the default branch)

🤖 Generated with Claude Code

The included hook overwrote app.options.postcssOptions unconditionally.
It is now only a default, so an app that configures postcss itself wins.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for ember-styleguide ready!

Name Link
🔨 Latest commit aa25fd5
🔍 Latest deploy log https://app.netlify.com/projects/ember-styleguide/deploys/6a754c0e8d30f10009b029f1
😎 Deploy Preview https://deploy-preview-560--ember-styleguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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