Tencent / hel

A module federation SDK which is unrelated to tool chain for module consumer. 工具链无关的运行时模块联邦sdk.
https://tencent.github.io/hel/
Other
967 stars 85 forks source link

主子应用集成加载,import { isMasterApp } from 'hel-iso',子应用isMasterApp 失效 #92

Closed zhangbinzhbb closed 6 months ago

zhangbinzhbb commented 8 months ago

1、主子应用集成加载,子应用 引入import { isMasterApp } from 'hel-iso',判断是否独立运行,主子加载,子应用还是会走独立运行,isMasterApp 失效 2、当前解决,主应用也需要引入 import 'hel-iso',子应用isMasterApp 生效

zhangbinzhbb commented 8 months ago

企业微信截图_17059888056142

fantasticsoul commented 8 months ago

好的明白了,这里想好如何做修复了

fantasticsoul commented 6 months ago

主应用 hel-micro 升级到 4.9.2,子应用的 hel-iso 升级到 4.4.0,应该就没问题了(此时主应用就不需要独立导入 hel-iso 了)

fantasticsoul commented 6 months ago

问题已修复