1.0.0 • Published 6 years ago

rollup-plugin-htmlpipe v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

rollup-plugin-htmlpipe

Installation

yarn add -D rollup-plugin-htmlpipe

Usage

// rollup.config.js
import html from 'rollup-plugin-htmlpipe'

export default {
  input: 'src/main.js',
  output: {
    file: 'dist/bundle.js',
    format: 'iife'
  },
  plugins: [
    html({
      template: 'src/index.html',
      filename: 'main.html',
      inline: true,
      minify: {}
    })
  ]
}

License

MIT