Add changesets for CSS exports support

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Patrik Oldsberg
2026-02-09 13:38:45 +01:00
parent 4f9d980943
commit 20131c561a
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': minor
---
Added support for CSS exports in package builds. When a package declares a CSS file in its `exports` field, the CLI will now automatically bundle it during `backstage-cli package build` using lightningcss, and rewrite the export path from `src/` to `dist/` at publish time. This allows packages to include standalone CSS files without custom build scripts.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/ui': patch
---
Migrated to use the standard `backstage-cli package build` for CSS bundling instead of a custom build script.