We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd27bad commit 30c5aa0Copy full SHA for 30c5aa0
packages/plugin-vue/src/main.ts
@@ -196,9 +196,10 @@ export async function transformMain(
196
197
let resolvedMap: RawSourceMap | undefined = undefined
198
if (options.sourceMap) {
199
+ // the mappings of the source map for the inlined template should be moved
200
+ // because the position does not include the script tag part.
201
+ // we also concatenate the two source maps while doing that.
202
if (templateMap) {
- // if the template is inlined into the main module (indicated by the presence
- // of templateMap), we need to concatenate the two source maps.
203
const from = scriptMap ?? {
204
file: filename,
205
sourceRoot: '',
0 commit comments