rollup-plugin-monk

1.1.5 • Public • Published

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

Package Sidebar

Install

npm i rollup-plugin-monk

Weekly Downloads

0

Version

1.1.5

License

MIT

Last publish

Collaborators

  • javag