cli: fix css + svg import conflict

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-08-31 12:47:23 +02:00
parent 140a61ab8d
commit 569c3f016f
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fixed an issue where published frontend packages would end up with an invalid import structure if a single module imported both `.css` and `.svg` files.
+1
View File
@@ -118,6 +118,7 @@ export async function makeRollupConfigs(
),
output,
onwarn,
makeAbsoluteExternalsRelative: false,
preserveEntrySignatures: 'strict',
// All module imports are always marked as external
external: (source, importer, isResolved) =>