@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/lib/index.esm.js +14 -13
- package/lib/index.esm.js.map +1 -1
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/typings/global.d.ts +2 -2
package/package.json
CHANGED
package/typings/global.d.ts
CHANGED
|
@@ -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
|
}
|