1.0.0 • Published 4 years ago

hbt-rollup v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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