Skip to content

Bundler

A tool that groups connected modules and resources into files for delivery.

Software Development

What is a bundler?

A bundler follows dependencies between modules and produces one or more related output files. It starts from defined entry points. Depending on the tool and configuration, it may include other resources such as styles or images. Bundling can be part of a build; a bundler is neither merely a ZIP utility nor equivalent to a compiler.

In a fictional portal, the home page and a request form use the same form helper. The bundler processes reachable modules according to its configuration; shared code may become a separate file. The team checks the actual output files and their loading in the target system. Multiple source files guarantee neither a single output nor shorter loading time. Checks, access protection and publication do not automatically follow from bundling either.

Sources

Articles on this topic

Software Development with ASES

Custom software, web and mobile apps