Skip to content

fix: Tailwind classes not compiling in prod - #862

Open
Roshan931 wants to merge 1 commit into
BeaconCMS:mainfrom
Roshan931:prilog/fix-error-host-app-component-classes-never-reach-08-21-2026-74a5a2
Open

fix: Tailwind classes not compiling in prod#862
Roshan931 wants to merge 1 commit into
BeaconCMS:mainfrom
Roshan931:prilog/fix-error-host-app-component-classes-never-reach-08-21-2026-74a5a2

Conversation

@Roshan931

Copy link
Copy Markdown

Fixes #726

Root cause

Host app component classes never reach the CSS candidate list and :css_safelist config is ignored

Changes

  • Beacon.RuntimeCSS now unions config.css_safelist with the safelist-module candidates when collecting CSS candidates; the :css_safelist and :css_safelist_module options were added to Beacon.Config's types/docs and the reuse-app.css recipe documents how to include classes that live in host app components. Regression tests cover both safelist sources.

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.

Tailwind classes not compiling in prod

1 participant