Merge pull request #28597 from backstage/rugvip/dotdot

cli: fix ..<ext> in frontend build output
This commit is contained in:
Patrik Oldsberg
2025-01-23 14:37:25 +01:00
committed by GitHub
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]',
},
},
{