Infusing the greatest benefits of modern bundlers (Webpack, Rollup) and loaders (SystemJS, RequireJS) into an all-inclusive build and run-time solution optimized for the end-user experience.
Bundlers like Webpack do a great job at providing a toolset needed to deliver an optimal out-of-the-box delivery solution for your end-users. Most loaders on the other hand, are focused on delivering only the requested assets, as they are needed. Radpack fuses the best of both worlds by taking advantage of build-time bundling, with graph-based run-time loading.
Feature | radpack | bundlers | loaders |
---|---|---|---|
Zero Config Runtime | ❌ | ✅ | ✅ |
Parallel Parent/Child Downloads | ✅ | ✅ | ❌ |
Parallel Download of Deeply Nested Resources | ✅ | ✅ | ❌ |
Download only what's needed, when it's needed | ✅ | ❓ | ✅ |
-> High Cache Rates | ✅ | ❌ | ✅ |
Background Downloads of Optional Resources | ✅ | ❌ | ❌ |
Modern browser bundles | ✅ | ❌ | ❌ |
Resource sharing across applications | ✅ | ❌ | ❓ |
Multi-App Auto Dedupe | ✅ | ❌ | ✅ |
Server-side Support | ✅ | ❌ | ❓ |
Legacy IE11+ Support | ✅ | ✅ | ✅ |
Support Webpack Chunks | ✅ | ✅ | ❌ |
Babel Support | ✅ | n/a | ❓ |
Webpack Support | ✅ | n/a | ❓ |
Rollup Support | ✅ | n/a | ❓ |
Live Docs: https://godaddy.github.io/radpack
Name | Description |
---|---|
@radpack/core | Core common functionality |
@radpack/cli | Various CLI helpers and services |
@radpack/client | Client (browser) runtime |
@radpack/server | Server (node) runtime |
@radpack/build | Core build functionality |
@radpack/rollup-plugin | Rollup build plugin |
@radpack/webpack-plugin | Webpack build plugin |
Several application, client, and library examples
Each package independently manages its semver and is updated using lerna. Run npx lerna publish
to publish all modified packages, or run npx lerna version <semver type>
in each package you want to individually version bump and then at the root run npx lerna publish from-package
.