Skip to content

Commit 31f5bfe

Browse files
committed
refactor: source map tweaks
fix #1677
1 parent 6098437 commit 31f5bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-vue/src/style.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ export async function transformStyle(
3737

3838
return {
3939
code: result.code,
40-
map: result.map as any
40+
map: result.map || ({ mappings: '' } as any)
4141
}
4242
}

0 commit comments

Comments
 (0)