UNPKG

@roots/bud

Version:

Configurable, extensible build tools for modern single and multi-page web applications

40 lines (39 loc) 1.22 kB
import BuildCommand from '@roots/bud/cli/commands/build'; import browser from '@roots/bud/cli/flags/browser'; import hot from '@roots/bud/cli/flags/hot'; import indicator from '@roots/bud/cli/flags/indicator'; import overlay from '@roots/bud/cli/flags/overlay'; import port from '@roots/bud/cli/flags/port'; import proxy from '@roots/bud/cli/flags/proxy'; import reload from '@roots/bud/cli/flags/reload'; /** * `bud build development` command */ export default class BuildDevelopmentCommand extends BuildCommand { /** * {@link Command.paths} */ static paths = [[`dev`], [`build`, `development`]]; /** * {@link Command.usage} */ static usage = BuildCommand.Usage({ category: `build`, description: `Compile source assets in \`development\` mode.`, details: `Compile source assets in \`development\` mode.`, examples: [ [ `Compile source assets in \`development\` mode.`, `$0 build development`, ], ], }); mode = `development`; hot = hot; proxy = proxy; browser = browser; indicator = indicator; overlay = overlay; port = port; reload = reload; }