Skip to content

Add wildcard tag matching#63

Open
dicnunz wants to merge 1 commit into
cfware:masterfrom
dicnunz:issue-17-wildcard-tags
Open

Add wildcard tag matching#63
dicnunz wants to merge 1 commit into
cfware:masterfrom
dicnunz:issue-17-wildcard-tags

Conversation

@dicnunz
Copy link
Copy Markdown

@dicnunz dicnunz commented May 9, 2026

Fixes #17

IssueHunt bounty: https://issuehunt.io/repos/98408818/issues/17 ($38)

What changed

  • Adds support for modules: { '*': [...] } so configured tag names can be matched without naming every import source.
  • Keeps exact binding-based matches taking precedence when a module is explicitly configured.
  • Covers wildcard named imports from wrapper modules and direct local html / css tags.
  • Refreshes the generated transform-template-literals-after fixture for the current Babel transform output used by the dependency range.

Tested

  • source ~/.nvm/nvm.sh && nvm use 16.20.2 >/dev/null && npm run -s pretest -- --reporter stylish
  • source ~/.nvm/nvm.sh && nvm use 16.20.2 >/dev/null && npm run -s tests-only
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minify all templates tagged with a certain tag

1 participant