Skip to content

Allow "any" tag in attributes.list[0].tag #267

@andreyvolokitin

Description

@andreyvolokitin
  • Operating System: any
  • Node Version: any
  • NPM Version: any
  • webpack Version: any
  • html-loader Version: any

Feature Proposal

Would it make sense to support any tag inside attributes.list[0].tag? I.e.:

{
  tag: '*',
  attribute: 'data-lazy',
  type: 'src',
 },

Feature Use Case

In this case we could skip writing many objects for each tag with same custom attribute (i.e. data-lazy)


I can help with PR

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions