cli: fix ..<ext> in frontend build output

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-01-23 13:32:15 +01:00
parent 93e7ac2e73
commit 207f88f0d7
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fixed the file path pattern of many static assets output as part of the frontend build process, where there was an extra `.` before the extension, leading to names like `image-af7946b..png`.
+1 -1
View File
@@ -154,7 +154,7 @@ export const transforms = (options: TransformOptions): Transforms => {
],
type: 'asset/resource',
generator: {
filename: 'static/[name].[hash:8].[ext]',
filename: 'static/[name].[hash:8][ext]',
},
},
{