Skip to main content

bud.devtool

Configure sourcemaps.

Usage

Enable sourcemaps with defaults:

bud.devtool()

Disable sourcemaps

bud.devtool(false)

Override the default configuration

bud.devtool(`eval-source-map`)

bud.devtool can be used as a bud.js callback. When used this way it is the same as enabling sourcemaps with the default configuration.

bud.when(bud.isDevelopment, bud.devtool)
bud.tap(bud.devtool)