rollup-plugin-posthtml-template
Version:
Seamless integration between Rollup and PostHTML.
20 lines (16 loc) • 377 B
JavaScript
import { join } from 'path';
const posthtml = require('../');
// import sugarml from 'posthtml-sugarml';
import include from 'posthtml-include';
export default {
entry: join(__dirname, 'main.js'),
dest: join(__dirname, 'bundle.js'),
format: 'iife',
plugins: [
posthtml({
// parser: sugarml(),
plugins: [include()],
template: true
})
]
};