Skip to content

Fix widget CSS output filename - #223

Merged
ruibaby merged 1 commit into
mainfrom
fix/widget-css-output-filename
Aug 20, 2026
Merged

Fix widget CSS output filename#223
ruibaby merged 1 commit into
mainfrom
fix/widget-css-output-filename

Conversation

@ruibaby

@ruibaby ruibaby commented Aug 20, 2026

Copy link
Copy Markdown
Member

What changed

  • Configure Rslib to emit the widget stylesheet as index.css.
  • Keep the generated CSS filename aligned with the path used by CommentWidgetHeadProcessor.

Why

After the Rslib dependency update, the widget build emitted the stylesheet with a generated name such as 59.css, while CommentWidgetHeadProcessor continued to request index.css. As a result, the widget stylesheet could not be loaded.

Validation

  • pnpm --filter ./packages/widget build
  • pnpm exec biome check packages/widget/rslib.config.mjs
  • ./gradlew build

@ruibaby
ruibaby merged commit 1533205 into main Aug 20, 2026
1 check passed
@ruibaby
ruibaby deleted the fix/widget-css-output-filename branch August 20, 2026 13:30
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