@radpack/webpack-plugin

Rapid Application Development Packaging Webpack Plugin

Usage no npm install needed!

<script type="module">
  import radpackWebpackPlugin from 'https://cdn.skypack.dev/@radpack/webpack-plugin';
</script>

README

radpack

CICD Status

Documentation Logo

What is it?

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 :x: :white_check_mark: :white_check_mark:
Parallel Parent/Child Downloads :white_check_mark: :white_check_mark: :x:
Parallel Download of Deeply Nested Resources :white_check_mark: :white_check_mark: :x:
Download only what's needed, when it's needed :white_check_mark: :question: :white_check_mark:
-> High Cache Rates :white_check_mark: :x: :white_check_mark:
Background Downloads of Optional Resources :white_check_mark: :x: :x:
Modern browser bundles :white_check_mark: :x: :x:
Resource sharing across applications :white_check_mark: :x: :question:
Multi-App Auto Dedupe :white_check_mark: :x: :white_check_mark:
Server-side Support :white_check_mark: :x: :question:
Legacy IE11+ Support :white_check_mark: :white_check_mark: :white_check_mark:
Support Webpack Chunks :white_check_mark: :white_check_mark: :x:
Babel Support :white_check_mark: n/a :question:
Webpack Support :white_check_mark: n/a :question:
Rollup Support :white_check_mark: n/a :question:

Documentation

Live Docs: https://godaddy.github.io/radpack

Authoring documentation

Packages

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

Examples

Several application, client, and library examples

Publishing

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.