UNPKG

@roots/bud-build

Version:

bud.js core module

10 lines (8 loc) 271 B
import type {Factory} from '@roots/bud-build/config' export const target: Factory<`target`> = async ({context, hooks, root}) => hooks.filter( `build.target`, context.manifest?.browserslist ? `browserslist:${root.path(`package.json`)}` : `web`, )