1.0.0 • Published 2 months ago
@fp7/rollup-plugin-mustache v1.0.0
= @fp7/rollup-plugin-mustache
A Rollup plugin to be able to include mustachetemplates and render them with https://github.com/janl/mustache.js[mustache.js].
I use it to be able to develop mustache templates with https://storybook.js.org[Storybook] and https://vitejs.dev[Vite].
== Install
source,shell
npm install @fp7/rollup-plugin-mustache --save-dev
== Usage
source,javascript
include::example/rollup.config.jslines=3..-1
The plugin needs to know the basedir of the templates to be able to include them for partial resolution.
1.0.0
2 months ago