Merge pull request #31516 from backstage/rugvip/shaking

ui: enable tree shaking of components
This commit is contained in:
Patrik Oldsberg
2025-10-24 12:51:22 +02:00
committed by GitHub
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": [