diff --git a/.changeset/css-exports-support.md b/.changeset/css-exports-support.md new file mode 100644 index 0000000000..69e7808ccc --- /dev/null +++ b/.changeset/css-exports-support.md @@ -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. diff --git a/.changeset/ui-standard-build.md b/.changeset/ui-standard-build.md new file mode 100644 index 0000000000..d0d8bd7f65 --- /dev/null +++ b/.changeset/ui-standard-build.md @@ -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.