Bundle.js

Command Line Interface

Streamline your JavaScript bundling workflow with the powerful Bundle.js CLI.

Get Started

Core CLI Features

Fast Builds

Optimized for speed with parallel processing and minimal configuration.

Code Splitting

Automatically optimize chunks for faster load times and tree-shaking.

Watch Mode

Auto-rebundle on source changes with zero config.

Getting Started with CLI

Install the CLI and run commands to bundle, minify, and optimize your JavaScript projects with ease.

Terminal

npm install -g bundle-cli@latest
bundle init

                

Advanced CLI Commands

Master the powerful command options for production builds and more.

bundle build

Compile and bundle your project for production.

bundle build --minify --sourcemap

bundle dev

Start a development server with live reloading.

bundle dev --port 3000

bundle analyze

Generate bundle size analysis and insights.

bundle analyze dist

Need more?

Want to see more examples of CLI configurations in action or want to see how it integrates with your toolchain?