提交 93caa241 编写于 作者: fxy060608's avatar fxy060608

feat(cli): add filename for compilerOptions

上级 48bf66f2
......@@ -25,7 +25,8 @@ module.exports = function (source) {
outputSourceRange: true
}, options.compilerOptions, {
scopeId: query.scoped ? `data-v-${id}` : null,
comments: query.comments
comments: query.comments,
filename: this.resourcePath // fixed by xxxxxx 传递 filename
})
// for vue-component-compiler
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册