Skip to content

Commit dc70195

Browse files
committed
fix: remapping order
1 parent f82cf30 commit dc70195

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/unplugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export const unpluginFactory: UnpluginFactory<UserOptions | undefined> = (
2929
const transformed = ctx.transformWithMap(code, id)
3030
if (transformed) {
3131
const map = remapping(
32-
[transformed.map, this.getCombinedSourcemap() as any],
32+
[this.getCombinedSourcemap() as any, transformed.map],
3333
() => null,
34-
) as any
34+
)
3535
return {
3636
code: transformed.code,
3737
map,

0 commit comments

Comments
 (0)