We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcd54d2 commit c589454Copy full SHA for c589454
lib/template-compiler/modules/transform-require.js
@@ -19,7 +19,7 @@ module.exports = userOptions => {
19
20
function transform (node, options) {
21
for (const tag in options) {
22
- if (node.tag === tag && node.attrs) {
+ if ((tag === '*' || node.tag === tag) && node.attrs) {
23
const attributes = options[tag]
24
if (typeof attributes === 'string') {
25
node.attrs.some(attr => rewrite(attr, attributes))
0 commit comments