移动端更新

This commit is contained in:
2026-02-21 14:47:54 +08:00
parent 7f8e68bb0a
commit c0d27be99b
432 changed files with 100843 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
module.exports = {
usingComponents: {
'my-card': '../card/card'
},
handler (file) {
if (file.isBuffer()) {
let content = file.contents.toString()
if (file.path.includes('parser.js')) {
content = content.replace(/trustTags\s*:\s*makeMap\('/, "trustTags: makeMap('card,").replace(/voidTags\s*:\s*makeMap\('/, "voidTags: makeMap('card,")
}
file.contents = Buffer.from(content)
}
}
}