增加 wxml-loader 语法错误警告

This commit is contained in:
wkj 2023-11-30 18:00:36 +08:00
parent dd08dac602
commit b9b1d2dae1
1 changed files with 2 additions and 1 deletions

View File

@ -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}`);
}
},
},