Skip to content

Commit

Permalink
refactor: source map tweaks
Browse files Browse the repository at this point in the history
fix #1677
  • Loading branch information
yyx990803 committed Jan 24, 2021
1 parent 6098437 commit 31f5bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-vue/src/style.ts
Expand Up @@ -37,6 +37,6 @@ export async function transformStyle(

return {
code: result.code,
map: result.map as any
map: result.map || ({ mappings: '' } as any)
}
}

0 comments on commit 31f5bfe

Please sign in to comment.