Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 增加disableBlob全局或实例选项,可选使用blob #273

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

fanshyiis
Copy link

@fanshyiis fanshyiis commented Feb 9, 2022

由于使用blob会导致 vite 应用二次加载相同的依赖,
所以增加 disableBlob 配置项,可以在全局或者局部 micro-app 标签使用,默认启用

Because using blob will cause vite applications to load the same dependencies twice,
Therefore, add the disableblob configuration item, which can be used in the global or local micro app tags. It is enabled by default

<micro-app name='vite' url='http://localhost:7001/micro-app/vite/' inline disableBlob disableSandbox >

microApp.start({ disableBlob: true })

and: 新增关闭测试用例
所有测试用例已通过

Add close test case

@Raleigh-xc
Copy link

我遇到的场景的确需要这个配置,现在我只能通过插件在加载的时候处理

@ztw2010 ztw2010 mentioned this pull request Jun 6, 2022
@ztw2010
Copy link

ztw2010 commented Jun 6, 2022

我遇到的场景的确需要这个配置,现在我只能通过插件在加载的时候处理

请教一下这个问题你是怎么处理的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants