0.1.9 • Published 1 year ago
@e3o/bun-builder-plugins v0.1.9
@e3o/bun-builder-plugins
To install plugins:
bun add @e3o/bun-builder-plugins
Then you can use them in builder !
import { serverPlugin, watcherPlugin } from '@e3o/bun-builder-plugins'
const builderConfig = {
...
}
await Bun.build({
...builderConfig,
plugins: [serverPlugin(8081, './dist'), watcherPlugin(builderConfig, './public', './dist')],
})