ui: enable tree shaking of components

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-10-24 12:07:04 +02:00
parent 43b9f8fd90
commit ff9f0c3bcf
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/ui': patch
---
Enable tree-shaking of imports other than `*.css`.
+3 -1
View File
@@ -19,7 +19,9 @@
"directory": "packages/ui"
},
"license": "Apache-2.0",
"sideEffects": true,
"sideEffects": [
"*.css"
],
"main": "src/index.ts",
"types": "src/index.ts",
"files": [