@qpqjs/deploy-rspack
v0.10.0
Published
Rspack bundling for quidproquo backends, views and federated remotes.
Readme
@qpqjs/deploy-rspack
Rspack build configuration for quidproquo services.
It produces the bundles a qpq app deploys: the handler bundles that run on the platform, the quidproquo-dynamic-loader virtual module that lets a function resolve its business logic at runtime, and module federation remotes for frontends and dynamically loaded backend code.
npm install @qpqjs/deploy-rspack@rspack/core is a peer dependency. You normally drive this through the qpq CLI rather than calling it directly.
What it handles
- Externals, worked out from the service config so platform-provided modules are not bundled
- Loaders and plugins for the qpq build, including the virtual dynamic loader module
- Federation, both host and remote sides, so a service can publish its logic and another can load it at runtime
Status
Pre-1.0. The whole @qpqjs/* family releases in lockstep, so versions that share a number were built and tested together. Expect APIs to move between releases, and pin your versions.
Documentation
License
MIT. See LICENSE.
