@rspack/binding 0.0.18 → 0.0.20
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 +4 -0
- package/package.json +5 -5
package/binding.d.ts
CHANGED
|
@@ -165,6 +165,7 @@ export interface RawModuleRule {
|
|
|
165
165
|
func?: (...args: any[]) => any
|
|
166
166
|
use?: Array<RawModuleRuleUse>
|
|
167
167
|
type?: "js" | "jsx" | "ts" | "tsx" | "css" | "json" | "asset" | "asset/resource" | "asset/source" | "asset/inline"
|
|
168
|
+
resolve?: RawResolveOptions
|
|
168
169
|
}
|
|
169
170
|
export interface RawAssetParserDataUrlOption {
|
|
170
171
|
maxSize?: number
|
|
@@ -351,6 +352,8 @@ export interface JsStatsModule {
|
|
|
351
352
|
id: string
|
|
352
353
|
chunks: Array<string>
|
|
353
354
|
size: number
|
|
355
|
+
issuer?: string
|
|
356
|
+
issuerName?: string
|
|
354
357
|
}
|
|
355
358
|
export interface JsStatsChunk {
|
|
356
359
|
type: string
|
|
@@ -380,6 +383,7 @@ export interface JsStatsCompilation {
|
|
|
380
383
|
errorsCount: number
|
|
381
384
|
warnings: Array<JsStatsWarning>
|
|
382
385
|
warningsCount: number
|
|
386
|
+
hash: string
|
|
383
387
|
}
|
|
384
388
|
export function initCustomTraceSubscriber(): void
|
|
385
389
|
export class JsCompilation {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "Node binding for rspack",
|
|
5
5
|
"main": "binding.js",
|
|
6
6
|
"types": "binding.d.ts",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"npm-run-all": "4.1.5"
|
|
21
21
|
},
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@rspack/binding-darwin-
|
|
24
|
-
"@rspack/binding-linux-x64-gnu": "
|
|
25
|
-
"@rspack/binding-darwin-
|
|
23
|
+
"@rspack/binding-darwin-arm64": "0.0.20",
|
|
24
|
+
"@rspack/binding-linux-x64-gnu": "0.0.20",
|
|
25
|
+
"@rspack/binding-darwin-x64": "0.0.20"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build:debug": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json",
|
|
29
29
|
"build:debug:x64": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json --target x86_64-apple-darwin",
|
|
30
30
|
"build:release:all": "run-p build:release build:release:x64 build:release:linux && pnpm move-binding",
|
|
31
|
-
"build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json",
|
|
31
|
+
"build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json && pnpm move-binding",
|
|
32
32
|
"build:release:x64": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json --target x86_64-apple-darwin",
|
|
33
33
|
"build:release:linux": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json --zig --target x86_64-unknown-linux-gnu --zig-abi-suffix=2.17",
|
|
34
34
|
"move-binding": "node scripts/move-binding"
|