Optional __filename?: stringFile name of the module that declares the subapp.
__filename, which webpack set to "/<file>" for client side bundle.Optional bundleoptional webpack bundle name for the subapp
"subapp-<name>"The dynamic import promise for the subapp's module, or a function that returns it
Name of the subapp
Optional resolveThe name of the export for the subapp from the module.
subappdefaultfalse, then this subapp is treated as having no UI logic.Optional wantExtra features that the subapp wants. Should be initialized with the feature provider function
The intent is to allow a module to provide one or more features for a subapp.
Typically the feature needs to have implementation for server and client side, and exposed through the main/browser fields in package.json.
The feature is access through an API function. The API should return another function to be called by the subapp system later, and the subapp's info will be passed.
Options for calling the
declareSubAppAPI.To see example of implement and declare a subapp, see a framework specific SubApp implementation type, such as
ReactSubApp.