8000 fix: makes source maps line up with the correct lines when viewed in … · mrauhu/vue-meteor@4dd9c48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4dd9c48

Browse files
GeoffreyBoothAkryum
authored andcommitted
fix: makes source maps line up with the correct lines when viewed in DevTools, Fixes meteor-vue#350 (meteor-vue#370)
1 parent 90442f0 commit 4dd9c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-component/plugin/vue-compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ function compileOneFileWithContents (inputFile, contents, parts, babelOptions) {
536536
try {
537537
const cache = Cache.getCache(inputFile)
538538
const compiler = loadPackage(inputFile, 'vue-template-compiler', loadDefaultTemplateCompiler)
539-
const sfcDescriptor = compiler.parseComponent(contents, { pad: 'line' })
539+
const sfcDescriptor = compiler.parseComponent(contents)
540540

541541
return compileTags(inputFile, sfcDescriptor, parts, babelOptions, cache.dependencyManager)
542542
} catch (e) {

0 commit comments

Comments
 (0)
0