Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 506 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 506 Bytes

rollup-plugin-template npm package

Rollup plugin for import template HTML.

Installation

npm install --save-dev rollup-plugin-template

Usage

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

rollup({
	entry: 'src/app.js',
	plugins: [
		template({
			include: 'src/templates/*.html'
		})
	]
});

License

MIT