npm.io
1.0.0 • Published 6 years ago

hbt-rollup

Licence
ISC
Version
1.0.0
Deps
1
Size
1 kB
Vulns
0
Weekly
0

hbt-rollup

a hbt plugin for roll up

basic usage first install it npm i hbt-rollup -D

// then in rollup.config.js

const hbtPlugin = require('hbt-rollup')
export default {
  /*your configs goes here*/
  plugins: [
  	hbtPlugin('dev/index.html', 'build/index.html', {}, { watch: true })
  ]
}

hbtPlugin function is same as compile function of hbt

see official docs hrere

Keywords