diff --git a/.changeset/css-exports-support.md b/.changeset/css-exports-support.md index 065f385a43..09da09ffb1 100644 --- a/.changeset/css-exports-support.md +++ b/.changeset/css-exports-support.md @@ -2,4 +2,4 @@ '@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 postcss-import, and rewrite the export path from `src/` to `dist/` at publish time. This allows packages to include standalone CSS files without custom build scripts. +Added support for CSS exports in package builds. When a package declares a CSS file in its `exports` field (e.g., `"./styles.css": "./src/styles.css"`), the CLI will automatically bundle it during `backstage-cli package build`, resolving any `@import` statements. The export path is rewritten from `src/` to `dist/` at publish time.