What is Bundler?
The short answer
A bundler combines a project's many source files and dependencies into optimised files the browser can load efficiently; Vite, webpack and Turbopack are common ones.
Bundler, explained
Bundlers also minify, split and transform code, such as turning TypeScript and JSX into plain JavaScript.
Questions people ask about Bundler
What is Bundler?
A bundler combines a project's many source files and dependencies into optimised files the browser can load efficiently; Vite, webpack and Turbopack are common ones.
Related terms
Code splitting breaks a site's JavaScript into smaller chunks so each page downloads only the code it needs, loading the rest on demand.
MinificationMinification removes whitespace, comments and long names from code so HTML, CSS and JavaScript files are smaller and download faster.
npmnpm is the package manager and registry for JavaScript, where developers install shared libraries (packages) into their projects.
DOMThe DOM is the browser's live, tree-shaped model of a web page; JavaScript reads and changes the DOM to update what visitors see.
Part of the Web Encyclopedia by Apex Flow Digital. Definitions are general knowledge, kept current, with no invented statistics.