Builderz is a zero-configuration JavaScript and TypeScript bundler designed for simplicity and efficiency, aiming to streamline the build process for both libraries and applications by minimizing setup overhead. The current stable version is `0.11.0`, with a development cadence that sees frequent minor updates and patch releases, typically addressing dependency updates, performance enhancements like caching, and bug fixes. Key differentiators include its 'zero-configuration' approach, the ability to build packages even with invalid `package.json` files (addressing a common development pain point), support for parallel build tasks for improved performance, and a robust caching mechanism introduced in `v0.10.0`. It supports both CommonJS (CJS) and ES Module (ESM) output formats and offers both a Command Line Interface (CLI) and a programmatic API for integration into development workflows.
npm install builderzVerified import paths — ran on the pinned version, not inferred.
Demonstrates setting up a `package.json`, a `builderz.config.js` with ES module support, and an entry file, then running a build via CLI.
Refer to the updated documentation on the GitHub repository for the correct argument structure and configuration options for `builderz.config.js` files.
For custom behaviors, utilize the `builderz.config.js` file and its `plugins` option. Inspect the generated output to understand default behaviors. Consider other bundlers if deep, fine-grained control is consistently required beyond what `builderz` exposes.
Monitor build times and cache effectiveness after updating to `v0.10.x` or later. If unexpected performance degradation occurs, consider reverting or reporting an issue to the maintainers.
Run `npm install builderz` or `yarn add builderz` to add it to your project's dependencies. Ensure your `package.json` correctly lists it under `devDependencies` or `dependencies`.
Ensure you have a `builderz.config.js` (or `.ts`) file in your project root, or explicitly point to its location using `builderz build -c ./path/to/builderz.config.js`. Verify the file's syntax for any JavaScript/TypeScript errors.
Examine the console output for more specific error messages, which will usually pinpoint the problematic file or configuration setting. Check your source code for syntax errors, ensure all imported modules exist, and verify your `builderz.config.js` is valid.
No dependency data recorded yet.