Skip to content

Using custom rules in modules #75

@maltsev

Description

@maltsev

In #73 @sebastianniemann suggested extending removeComments module to support custom filter rules.

It made me think if such custom rules could come in handy in other modules. For example, to pass additional attributes or complex rules to removeRedundantAttributes module. In that case, I think we'd be better off creating some general API or approach applicable to all modules, which might be different from RegExp you suggested.

@sebastianniemann, do you have any thoughts about this idea?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions