Skip to main content

Configuration reference

bud.alias

Register short hand for resolving module paths

Read documentation

bud.assets

Include static assets in your compilation even if they aren't referenced in compiled assets

Read documentation

bud.define

Replace variables in your application code and templates at compile time

Read documentation

bud.devtool

Configure sourcemaps

Read documentation

bud.entry

Specify a set of assets to include in the compilation

Read documentation

bud.env

bud includes support for utilizing dotenv values (in your config, templates and the browser)

Read documentation

bud.externals

Specify a non-standard resolution strategy for modules with a matching name

Read documentation

bud.get

Multi-compiler management utility allowing reference of child compilers

Read documentation

bud.hash

Enable or disable filename hashing of built assets

Read documentation

bud.hooks

Modify internal values with callbacks

Read documentation

bud.make

Create a new, configurable instance of Bud

Read documentation

bud.minimize

Enable or disable minification of static assets

Read documentation

bud.mode

Specify if a build is being run in a production or development context

Read documentation

bud.path

Get an absolute path to a directory or file.

Read documentation

bud.provide

Make a variable/module available throughout the entire application

Read documentation

bud.proxy

Proxy an existing development server

Read documentation

bud.publicPath

Get the application public path

Read documentation

bud.runtime

Generate a runtime chunk intended to be inlined on the page

Read documentation

bud.serve

Configure the development server

Read documentation

bud.sh

Execute arbitrary commands

Read documentation

bud.setPath

Set application filesystem paths

Read documentation

bud.setPublicPath

Set application filesystem paths

Read documentation

bud.splitChunks

Separate vendor code from application code

Read documentation

bud.tap

Access the bud object through a callback. Useful to maintain a function chain

Read documentation

bud.template

Configure your application's html templates

Read documentation

bud.use

Register an extension or set of extensions

Read documentation

bud.when

Conditionally execute a tap function

Read documentation