rollup-plugin-monk
v1.1.5
Published
Allows for compiling monkberry templates.
Downloads
7
Maintainers
Readme
rollup-plugin-monk
Allows for compiling monkberry templates.
Installation
npm install --save-dev rollup-plugin-buble rollup-plugin-monk
Usage
import { rollup } from 'rollup';
import monk from 'rollup-plugin-monk';
import buble from 'rollup-plugin-buble';
rollup({
entry: 'main.js',
plugins: [
monk({
include: ['**/*.monk']
}),
buble()
]
}).then(...)
Options
{
// a minimatch pattern, or array of patterns, of files that
// should be processed by this plugin (if omitted, all files
// are included by default)...
include: '**/*.monk',
// ...and those that shouldn't, if `include` is otherwise
// too permissive
exclude: 'node_modules/**',
}
License
MIT