docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Configure a child micro-frontend build so it exposes an explicit library label (or labels) and publishes that label to the host discovery global. The label comes from the MICRO_LIB_LABELS environment variable (comma-separated values indicate multiple aliases) and falls back to the package name when unset.
MICRO_LIB_LABELS is set to billingShell, the child bundle exposes that label as the library name and assigns the same value to window.ICESTARK.library after the entry runs. @testMICRO_LIB_LABELS contains comma-separated values billingShell,BILLING_SHELL, the build configuration uses them as an ordered array for the library name and window.ICESTARK.library reflects the same array. @testwindow.ICESTARK.library. @testlibraryTarget: 'umd') with the chosen library name so host frameworks can mount it. @testimport type { UserConfig } from '@ice/app';
declare const config: UserConfig;
export default config;Provides micro-frontend build plugin support for child bundles, custom library names, and host global wiring.