Skip to content

Commit ed3cbfb

Browse files
committed
WIP18
1 parent 8545aa4 commit ed3cbfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/rollup-plugin-html/test

packages/rollup-plugin-html/test/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function generateTestBundle(build: RollupBuild, outputConfig: Outpu
5151
const assets: Record<string, string | Uint8Array> = {};
5252

5353
for (const file of output) {
54-
const filename = file.fileName;
54+
const filename = file.fileName.replaceAll('\\', '/');
5555
const formatter = getFormatterFromFilename(filename);
5656
if (file.type === 'chunk') {
5757
chunks[filename] = formatter ? formatter(file.code) : file.code;

0 commit comments

Comments
 (0)