@baleada/rollup-plugin-source-transform
An absurdly flexible tool for the Baleada toolkit that allows you to transform files' content during your build step. Compatible with Rollup.
See the Baleada docs for more guidance.