Options
All
  • Public
  • Public/Protected
  • All
Menu

Advanced configuration for modules that should be shared in the share scope.

Hierarchy

  • SharedConfig

Index

Properties

eager?: boolean

Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.

import?: string | false

Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn't valid. Defaults to the property name.

packageName?: string

Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.

requiredVersion?: string | false

Version requirement from module in share scope.

shareKey?: string

Module is looked up under this key from the share scope.

shareScope?: string

Share scope name.

singleton?: boolean

Allow only a single version of the shared module in share scope (disabled by default).

strictVersion?: boolean

Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).

version?: string | false

Version of the provided module. Will replace lower matching versions, but not higher.