@micro-zoe/micro-app 0.8.4 → 0.8.5

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.4",
3
+ "version": "0.8.5",
4
4
  "description": "A lightweight, efficient and powerful micro front-end framework",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -136,7 +136,7 @@ declare module '@micro-app/types' {
136
136
  // options for plugin as the third parameter of loader
137
137
  options?: unknown
138
138
  // handle function
139
- loader?: (code: string, url: string, options: unknown) => string
139
+ loader?: (code: string, url: string, options: unknown, info: sourceScriptInfo) => string
140
140
  }>
141
141
 
142
142
  // plugin for special app
@@ -149,7 +149,7 @@ declare module '@micro-app/types' {
149
149
  // options for plugin as the third parameter of loader
150
150
  options?: unknown
151
151
  // handle function
152
- loader?: (code: string, url: string, options: unknown) => string
152
+ loader?: (code: string, url: string, options: unknown, info: sourceScriptInfo) => string
153
153
  }>
154
154
  }
155
155
  }