@rspack/binding 0.0.0-20221102063021 → 0.0.0-20221103023848
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/binding.d.ts +9 -0
- package/package.json +1 -1
- package/rspack.darwin-arm64.node +0 -0
package/binding.d.ts
CHANGED
|
@@ -188,12 +188,18 @@ export interface RebuildResult {
|
|
|
188
188
|
}
|
|
189
189
|
export interface StatsError {
|
|
190
190
|
message: string
|
|
191
|
+
formatted: string
|
|
192
|
+
}
|
|
193
|
+
export interface StatsWarning {
|
|
194
|
+
message: string
|
|
195
|
+
formatted: string
|
|
191
196
|
}
|
|
192
197
|
export interface StatsAsset {
|
|
193
198
|
type: string
|
|
194
199
|
name: string
|
|
195
200
|
size: number
|
|
196
201
|
chunks: Array<string>
|
|
202
|
+
chunkNames: Array<string>
|
|
197
203
|
}
|
|
198
204
|
export interface StatsModule {
|
|
199
205
|
type: string
|
|
@@ -211,6 +217,7 @@ export interface StatsChunk {
|
|
|
211
217
|
entry: boolean
|
|
212
218
|
initial: boolean
|
|
213
219
|
names: Array<string>
|
|
220
|
+
size: number
|
|
214
221
|
}
|
|
215
222
|
export interface StatsCompilation {
|
|
216
223
|
assets: Array<StatsAsset>
|
|
@@ -218,6 +225,8 @@ export interface StatsCompilation {
|
|
|
218
225
|
chunks: Array<StatsChunk>
|
|
219
226
|
errors: Array<StatsError>
|
|
220
227
|
errorsCount: number
|
|
228
|
+
warnings: Array<StatsWarning>
|
|
229
|
+
warningsCount: number
|
|
221
230
|
}
|
|
222
231
|
export interface OnLoadContext {
|
|
223
232
|
id: string
|
package/package.json
CHANGED
package/rspack.darwin-arm64.node
CHANGED
|
Binary file
|