1.0.0 • Published 6 years ago
rollup-plugin-htmlpipe v1.0.0
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
1.0.0
6 years ago