增加 wxml-loader 语法错误警告
This commit is contained in:
parent
dd08dac602
commit
b9b1d2dae1
|
|
@ -268,7 +268,8 @@ module.exports = async function (content) {
|
|||
x.indexOf('missed quot(")!') === -1 &&
|
||||
x.indexOf('unclosed xml attribute') == -1
|
||||
) {
|
||||
console.log(x);
|
||||
|
||||
console.warn(`${filePath}文件出现警告:${x}`);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue