0.7.2 • Published 7 years ago

rollup-plugin-ractivec v0.7.2

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

rollup-plugin-ractivec

Precompile Ractive template.

Installation

npm install --save ractive # not included!
npm install --save-dev rollup-plugin-ractivec

Usage

import { rollup } from 'rollup';
import ractivec from 'rollup-plugin-ractivec';

rollup({
  entry: 'src/main.js',
  plugins: [
    ractivec({
      // By default, all .html files are compiled
      extensions: [ '.html', '.ract', '.tpl' ],

      // You can restrict which files are compiled
      // using `include` and `exclude`
      include: 'src/templates/**.html'
    })
  ]
}).then(...)

License

MIT

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago