#1138622 ITP: node-rollup-plugin-transform-tagged-template -- transform contents of tagged template literals in Rollup builds

Package:
wnpp
Source:
wnpp
Submitter:
Bastien Roucaries
Date:
2026-06-01 11:25:02 UTC
Severity:
normal
#1138622#5
Date:
2026-06-01 11:23:31 UTC
From:
To:
* Package name    : node-rollup-plugin-transform-tagged-template
  Version         : 0.0.3
  Upstream Author : Laxman Damera
* URL             : https://github.com/notlmn/rollup-plugin-transform-tagged-template#readme
* License         : Expat
  Programming Lang: JavaScript
  Description     : transform contents of tagged template literals in Rollup builds
 This rollup plugin provides a mechanism for applying custom transformations
 to the contents of JavaScript tagged template literals during a Rollup build.
 .
 The plugin identifies user‑specified tag functions—such as css, html, or other
 domain‑specific tags—and passes the raw template string to a user‑defined transformer function.
 .
 This enables fine‑grained processing of embedded languages and DSLs inside template literals,
 including minification, rewriting, linting, or normalization of formats such as CSS, HTML,
 GraphQL, SQL, or custom syntaxes. The transformed content is then substituted back
 into the bundle at build time, allowing developers to optimize or preprocess inline
 template data without altering application logic.
 .
 Rollup is a JavaScript module bundler that creates optimized, standards‑based bundles
 by using ES modules to produce smaller, faster, and more efficient builds for
 modern applications.
 .
 Node.js is an event-based server-side JavaScript engine.