File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/core/tests/__snapshots__ Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 ],
Original file line number Diff line number Diff line change 11import assert from 'node:assert' ;
22import fs from 'node:fs' ;
3- import { dirname , join } from 'node:path' ;
3+ import { dirname , join , normalize } from 'node:path' ;
44import { fileURLToPath } from 'node:url' ;
55import {
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
You can’t perform that action at this time.
0 commit comments