Skip to content

Commit 7929ba9

Browse files
committed
up
1 parent b06d25d commit 7929ba9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/tests/__snapshots__/config.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config 1
201201
},
202202
"plugins": [
203203
{
204-
"name": "rsbuild-plugin-cjs-shim",
204+
"name": "rsbuild-plugin-cjs-import-meta-url-shim",
205205
"setup": [Function],
206206
},
207207
],

tests/scripts/shared.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import assert from 'node:assert';
22
import fs from 'node:fs';
3-
import { dirname, join } from 'node:path';
3+
import { dirname, join, normalize } from 'node:path';
44
import { fileURLToPath } from 'node:url';
55
import {
66
type InspectConfigResult,
@@ -133,7 +133,7 @@ export async function getResults(
133133
}
134134

135135
entries[key] = content[entryFile]!;
136-
entryFiles[key] = entryFile;
136+
entryFiles[key] = normalize(entryFile);
137137
}
138138
}
139139

0 commit comments

Comments
 (0)