1.1.5 • Published 7 years ago

rollup-plugin-monk v1.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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