Initial commit

This commit is contained in:
admin
2025-12-08 14:39:07 +08:00
commit 9d4f78656b
782 changed files with 66418 additions and 0 deletions

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)
}
}
}