rollup-plugin-ejs
JSON →A Rollup plugin that loads .ejs (Embedded JavaScript) template files, either returning a compiled render function or rendering to HTML at build time. Current stable version is 4.0.1. Supports file inclusion, SCSS compilation via a linked sass peer dependency, HTML minification via html-minifier, and CSS inlining via the inlineStyles option. The plugin dynamically imports peer dependencies, requiring Node 13.2.0+ when bundling in es format. It is a focused EJS integration for Rollup with no major alternatives in the npm ecosystem.
Resources
packagerollup-plugin-ejs ↗
API endpoints
full doc /v1/registry/rollup-plugin-ejs