We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在parseComponent中,会对script进行de-indent,导致生成sourceMap时无法根据script的sourceMap计算vue文件中的位置。或许我们应该支持可选的de-indent或在block中输出具体去掉了多少的空白?
parseComponent
script
de-indent
sourceMap
vue
vue_template_compiler.parseComponent(vue, {deindent: false})
The text was updated successfully, but these errors were encountered:
Closed via #7215
Sorry, something went wrong.
feat(compiler): support deindent: false in vue-template-compiler (#7215)
bf0efb0
close #7054
feat(compiler): support deindent: false in vue-template-compiler (vue…
d2baca1
…js#7215) close vuejs#7054
No branches or pull requests
What problem does this feature solve?
在
parseComponent
中,会对script
进行de-indent
,导致生成sourceMap
时无法根据script
的sourceMap
计算vue
文件中的位置。或许我们应该支持可选的de-indent
或在block中输出具体去掉了多少的空白?What does the proposed API look like?
vue_template_compiler.parseComponent(vue, {deindent: false})
The text was updated successfully, but these errors were encountered: