5.0.0 • Published 7 years ago

rollup-plugin-dwayne-html v5.0.0

Weekly downloads
21
License
-
Repository
-
Last release
7 years ago

rollup-plugin-dwayne-html

The plugin transforms Dwayne html into a javascript module using transform-dwayne-html.

Installation

npm install --save rollup-plugin-dwayne-html

Usage

// rollup.config.js

import dwayneHtml from 'rollup-plugin-dwayne-html';

export default {
  entry: 'entry.js',
  dest: 'bundle.js',
  format: 'iife',
  plugins: [
    dwayneHtml()
  ]
};

Options

  • options.include (default: '**/*.html').
  • options.exclude (default: undefined).

The rest options are passed to transform-dwayne-html.