UNPKG

rollup-plugin-posthtml-template

Version:
20 lines (16 loc) 377 B
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 }) ] };