feat: 增加disableBlob全局或实例选项,可选使用blob #273
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
由于使用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