Guide
Learn how to install, configure, and ship production bundles with Packem.
Guide
Whether you are publishing your first npm package or maintaining a monorepo with dozens of libraries, these guides walk you through every step — from installation to production builds.
Recommended reading order
If you are new to Packem, start at the top and work your way down. Each guide builds on the previous one.
- Introduction — What Packem is, how it works, and when to use it.
- Getting Started — Install Packem and create your first bundle in under five minutes.
- Configuration — Customize entry points, output formats, and build behavior.
- Transformers — Pick the right compiler (esbuild, swc, OXC, sucrase, or TypeScript).
- CSS Processing — Add support for CSS, Sass, Less, Stylus, PostCSS, and CSS Modules.
- Debug and Profiling — Diagnose build issues and measure performance.
Already familiar with Packem?
Jump straight to the reference material:
- Configuration Options — Every option explained with examples.
- API Reference — Programmatic usage, hooks, and plugin development.
- Examples — Copy-and-paste starter projects for common setups.