@micro-zoe/micro-app 0.8.7 → 0.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micro-zoe/micro-app",
3
- "version": "0.8.7",
3
+ "version": "0.8.10",
4
4
  "description": "A lightweight, efficient and powerful micro front-end framework",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -9,7 +9,7 @@ declare module '@micro-app/types' {
9
9
  proxyWindow: WindowProxy
10
10
  microAppWindow: Window // Proxy target
11
11
  start (baseRoute: string): void
12
- stop (): void
12
+ stop (umdMode: boolean): void
13
13
  // record umd snapshot before the first execution of umdHookMount
14
14
  recordUmdSnapshot (): void
15
15
  // rebuild umd snapshot before remount umd app
@@ -188,6 +188,7 @@ declare module '@micro-app/types' {
188
188
  plugins?: plugins
189
189
  fetch?: fetchType
190
190
  globalAssets?: globalAssetsType,
191
+ excludeAssetFilter?: (assetUrl: string) => boolean
191
192
  }
192
193
 
193
194
  // MicroApp config
@@ -203,6 +204,7 @@ declare module '@micro-app/types' {
203
204
  plugins?: plugins
204
205
  fetch?: fetchType
205
206
  preFetch(apps: prefetchParamList): void
207
+ excludeAssetFilter?: (assetUrl: string) => boolean
206
208
  start(options?: OptionsType): void
207
209
  }
208
210