Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit cf4f438

Browse files
committed
fix: correctly generate vite sourcemap
1 parent 9a5aa15 commit cf4f438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vite-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function compositionApiPlugin(): Plugin & { enforce: 'pre' } {
8080

8181
return {
8282
code: s.toString(),
83-
map: s.generateMap().toString(),
83+
map: s.generateMap({ source: filename }).toString(),
8484
}
8585
} catch {}
8686
},

0 commit comments

Comments
 (0)