Monorepo bundler based on rollup.js and vercel/ncc. Current stable version 1.43.92 supports configurable workspace packages, loader file generation, hash file names, and legacy browser support via Babel polyfills. It wraps rollup and ncc to provide a unified configuration for monorepos with glob-based package discovery. Maintained by hoevelmanns. Release cadence is irregular; latest version from 2024. Differentiator: bundler integration for monorepos that avoids manual per-package rollup configs, but remains experimental and may lack community adoption compared to tools like Nx or Turborepo.
npm install mono-bundlerVerified import paths — ran on the pinned version, not inferred.
Shows minimal mono.config.js with package globs, loaders, and rollup output options; run with `mono -c`
Lock to patch version and review changelog before upgrading.
Remove legacyBrowserSupport and add @rollup/plugin-babel manually.
Use Node >=14 when using ESM imports or modern rollup plugins.
Run `rm -rf dist` before each build or use rollup's 'clean' output option.
Use absolute paths or relative from root; consider using 'packages: ['.']' as fallback.
Run `npm install mono-bundler` and ensure package.json has 'type': 'module'.
Change to `import monoBundler from 'mono-bundler'` and use ESM context.
Remove legacyBrowserSupport from config and add @rollup/plugin-babel.