A JavaScript bundler for Node.js monorepo applications (v0.2.6, alpha quality). It bundles a single main.js from monorepo sources, produces a minimal package.json and yarn.lock for only used third-party dependencies, and installs them. Built on webpack with deterministic builds. Different from general bundlers (e.g., webpack, rollup) by focusing on monorepo workflow and offline deployment. Alpha stage with limited features and support for Node.js >=6.14.4 and Yarn >=1.3.2. Low release cadence (no updates since v0.2.1).
npm install monopack-builderVerified import paths — ran on the pinned version, not inferred.
Installs monopack, creates a simple entry file, builds it to a directory, and runs the output bundle.
Install Yarn globally or ensure it's available in PATH.
Use --out-dir ./dist or -d ./dist.
Add -m <package> for each dynamically required dependency.
Ensure third-party packages are in your monorepo's package.json.
Install: npm install --save-dev monopack and use: npx monopack or ./node_modules/.bin/monopack
Provide a directory: --out-dir ./dist
Use correct syntax: monopack build main.js
No dependency data recorded yet.