Version 0.2.6 (alpha). Monopack is a JavaScript bundler specifically for Node.js monorepo applications. It produces a static deterministic deliverable: a single main.js bundle of monorepo sources, a trimmed package.json and yarn.lock containing only used third-party dependencies, and a node_modules directory. It requires Node >= 6.14.4 and Yarn >= 1.3.2. Differentiators: focuses on monorepo workflows and CI/CD deterministic builds, bundles source but not third-party dependencies (copies them), and supports --with-extra-module for dynamic requires. Currently alpha quality, not under active development.
npm install monopack-configVerified import paths — ran on the pinned version, not inferred.
Shows global installation, build, run, and debug commands with common options.
Consider alternatives like esbuild, webpack, or rollup with monorepo plugins.
Install Yarn globally (npm install -g yarn) or the tool may produce non-deterministic output.
Always specify --out-dir to have a predictable output location.
Use package name only: -m mysql, not -m mysql@2.16.0.
npm install fs-extra (or yarn add fs-extra) in your project.
Install globally: npm install -g monopack, or use npx monopack.
Install Yarn: npm install -g yarn.
No dependency data recorded yet.