Volt.Builder.Output (Volt v0.19.2)

Copy Markdown View Source

Builds final production output files from compiled module graphs.

Summary

Functions

Bundle modules into separate chunks based on the chunk graph.

Bundle multiple ESM entries together and write Rolldown shared chunks.

Bundle modules into a single JS file and write output.

Bundle modules into a single in-memory JS bundle.

Prepare split chunks and their stylesheets without writing output.

Prepare shared ESM entries and associated artifacts without writing output.

Prepare one bundled entry and its stylesheet without writing output.

Functions

build_chunks(entry, name, compiled, graph_input, build_ctx)

Bundle modules into separate chunks based on the chunk graph.

build_shared_entries(entries, compiled, modules, path_labels, build_ctx)

Bundle multiple ESM entries together and write Rolldown shared chunks.

build_single(entry, name, compiled, build_ctx)

Bundle modules into a single JS file and write output.

bundle_single(entry, compiled, files, build_ctx)

Bundle modules into a single in-memory JS bundle.

prepare_chunks(entry, name, compiled, arg, build_ctx)

Prepare split chunks and their stylesheets without writing output.

prepare_shared_entries(entries, compiled, modules, path_labels, build_ctx)

Prepare shared ESM entries and associated artifacts without writing output.

prepare_single(entry, name, compiled, build_ctx)

Prepare one bundled entry and its stylesheet without writing output.