cli: raw-loader fix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Fixed an issue where the `raw-loader` for loading HTML templates was not resolved from the context of the CLI package.
|
||||
@@ -209,7 +209,7 @@ export async function createConfig(
|
||||
minify: false,
|
||||
publicPath: '<%= publicPath %>',
|
||||
filename: 'index.html.tmpl',
|
||||
template: `raw-loader!${paths.targetHtml}`,
|
||||
template: `${require.resolve('raw-loader')}!${paths.targetHtml}`,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user