Skip to content

fix: fix css issues in plugins + demos#66

Merged
olliethedev merged 6 commits intomainfrom
fix/plugin-css-issues
Mar 6, 2026
Merged

fix: fix css issues in plugins + demos#66
olliethedev merged 6 commits intomainfrom
fix/plugin-css-issues

Conversation

@olliethedev
Copy link
Collaborator

@olliethedev olliethedev commented Mar 6, 2026

Note

Medium Risk
Medium risk due to changes in @btst/stack’s postbuild packaging logic (rewriting/inlining CSS imports) plus broad demo dependency updates (notably next version changes) that could affect build/runtime behavior.

Overview
Fixes plugin CSS consumption outside the monorepo. @btst/stack’s postbuild now rewrites @import "@workspace/ui/..." in plugin CSS by resolving via packages/ui exports, inlining any relative CSS imports, emitting the result into dist/plugins/shared/, and updating dist CSS to import that generated file; package version bumps to 2.5.2.

Improves demo compatibility in StackBlitz/WebContainers. All demos add a copy-stack-src.mjs pre-step (wired into dev/build) and Tailwind @source directives in globals.css to scan copied @btst/stack/UI sources (and ignore those generated dirs). Demos also update seeding to persist the seed promise on global to avoid duplicate seeding under Next.js re-evaluation, bump @btst/stack to 2.5.2 and next to 15.4.1, and enhance demo docs with StackBlitz links and embedded iframes.

Written by Cursor Bugbot for commit 5dd4ecb. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
better-stack-docs Ready Ready Preview, Comment Mar 6, 2026 6:22pm

Request Review

@olliethedev
Copy link
Collaborator Author

bugbot run

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@olliethedev olliethedev changed the title fix: plugin css issues fix: fix css issues in plugins + demos Mar 6, 2026
@olliethedev olliethedev merged commit 598e734 into main Mar 6, 2026
5 checks passed
@olliethedev olliethedev deleted the fix/plugin-css-issues branch March 6, 2026 18:34
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