Build tool combining esbuild and rollup for bundling TypeScript and JavaScript with declaration generation and API documentation. Current stable version is 1.2.3, released with active development and regular updates. Requires Node >=24. It integrates esbuild's fast bundling with rollup's plugin ecosystem and adds declaratino generation via API Extractor and docgen. Differentiators include unified pipeline, built-in doc generation, and first-class TypeScript support.
npm install esrollNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of esroll to bundle a TypeScript entry point with declaration generation and API docs.
Use v0.x if Node <24, or upgrade Node to >=24.
Use `dts: true` and `doc: true` instead.
Ensure `sourcemap` option is set in both esbuild and rollup configs.
Only use .ts, .tsx, .js, .jsx, .mjs, .cjs as entry points.
npm install esroll --save-dev
Use `import { build } from 'esroll'` (ESM) instead of `const { build } = require('esroll')` (CJS).Check that `entryPoints` array contains valid paths relative to cwd.
Fix the TypeScript/JS error indicated in the message.