logologo
Guide
Practice
Configuration
Plugins
Showcase
Blog
Ecosystem
Module Federation Examples
Practical Module Federation
Zephyr Cloud
Nx
简体中文
English
Guide
Practice
Configuration
Plugins
Showcase
Blog
Module Federation Examples
Practical Module Federation
Zephyr Cloud
Nx
简体中文
English
logologo
Overview
Name
Filename
Remotes
Exposes
Shared
runtimePlugins
Get Public Path
Implementation
DTS
Dev
Manifest
shareStrategy
experiments
Edit this page on GitHub
Previous PageDTS
Next PageManifest

#dev

  • Type: boolean | PluginDevOptions
  • Required: No
  • Default value: true
  • Usage scenario: used to control Module Federation dev behavior

The PluginDevOptions types are as follows:

interface PluginDevOptions {
  disableLiveReload?: boolean;
  disableHotTypesReload?: boolean;
  disableDynamicRemoteTypeHints?: boolean;
}

#disableHotTypesReload

  • Type: boolean
  • Required: No
  • Default value: false

Whether to disable type hot reloading

#disableLiveReload

  • Type: boolean
  • Required: No
  • Default value: false

Whether to disable liveReload, after setting true, any updates from the producer will not trigger the consumer's page liveReload

#disableDynamicRemoteTypeHints

  • Type: boolean
  • Required: No
  • Default value: false

Whether to disable type hot reloading