@rspack-canary/binding 1.6.5-canary-e23badc4-20251124174040 → 1.6.5-canary-a27f526c-20251125032833
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/napi-binding.d.ts +29 -0
- package/package.json +11 -11
package/napi-binding.d.ts
CHANGED
|
@@ -540,10 +540,13 @@ export declare enum BuiltinPluginName {
|
|
|
540
540
|
SplitChunksPlugin = 'SplitChunksPlugin',
|
|
541
541
|
RemoveDuplicateModulesPlugin = 'RemoveDuplicateModulesPlugin',
|
|
542
542
|
ShareRuntimePlugin = 'ShareRuntimePlugin',
|
|
543
|
+
SharedUsedExportsOptimizerPlugin = 'SharedUsedExportsOptimizerPlugin',
|
|
543
544
|
ContainerPlugin = 'ContainerPlugin',
|
|
544
545
|
ContainerReferencePlugin = 'ContainerReferencePlugin',
|
|
545
546
|
ProvideSharedPlugin = 'ProvideSharedPlugin',
|
|
546
547
|
ConsumeSharedPlugin = 'ConsumeSharedPlugin',
|
|
548
|
+
CollectSharedEntryPlugin = 'CollectSharedEntryPlugin',
|
|
549
|
+
ShareContainerPlugin = 'ShareContainerPlugin',
|
|
547
550
|
ModuleFederationRuntimePlugin = 'ModuleFederationRuntimePlugin',
|
|
548
551
|
ModuleFederationManifestPlugin = 'ModuleFederationManifestPlugin',
|
|
549
552
|
NamedModuleIdsPlugin = 'NamedModuleIdsPlugin',
|
|
@@ -1837,6 +1840,11 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1837
1840
|
onEnd?: () => void
|
|
1838
1841
|
}
|
|
1839
1842
|
|
|
1843
|
+
export interface RawCollectShareEntryPluginOptions {
|
|
1844
|
+
consumes: Array<RawConsumeOptions>
|
|
1845
|
+
filename?: string
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1840
1848
|
export interface RawConsumeOptions {
|
|
1841
1849
|
key: string
|
|
1842
1850
|
import?: string
|
|
@@ -2584,6 +2592,12 @@ export interface RawOptimizationOptions {
|
|
|
2584
2592
|
avoidEntryIife: boolean
|
|
2585
2593
|
}
|
|
2586
2594
|
|
|
2595
|
+
export interface RawOptimizeSharedConfig {
|
|
2596
|
+
shareKey: string
|
|
2597
|
+
treeshake: boolean
|
|
2598
|
+
usedExports?: Array<string>
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2587
2601
|
export interface RawOptions {
|
|
2588
2602
|
name?: string
|
|
2589
2603
|
mode?: undefined | 'production' | 'development' | 'none'
|
|
@@ -2820,6 +2834,21 @@ export interface RawRuntimeChunkOptions {
|
|
|
2820
2834
|
name: string | ((entrypoint: { name: string }) => string)
|
|
2821
2835
|
}
|
|
2822
2836
|
|
|
2837
|
+
export interface RawShareContainerPluginOptions {
|
|
2838
|
+
name: string
|
|
2839
|
+
request: string
|
|
2840
|
+
version: string
|
|
2841
|
+
fileName?: string
|
|
2842
|
+
library: JsLibraryOptions
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
export interface RawSharedUsedExportsOptimizerPluginOptions {
|
|
2846
|
+
shared: Array<RawOptimizeSharedConfig>
|
|
2847
|
+
injectUsedExports?: boolean
|
|
2848
|
+
manifestFileName?: string
|
|
2849
|
+
statsFileName?: string
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2823
2852
|
export interface RawSizeLimitsPluginOptions {
|
|
2824
2853
|
assetFilter?: (assetFilename: string) => boolean
|
|
2825
2854
|
hints?: "error" | "warning"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/binding",
|
|
3
|
-
"version": "1.6.5-canary-
|
|
3
|
+
"version": "1.6.5-canary-a27f526c-20251125032833",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.6.5-canary-
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-linux-arm64-
|
|
58
|
-
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.5-canary-
|
|
59
|
-
"@rspack/binding-win32-
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-linux-x64-
|
|
63
|
-
"@rspack/binding-
|
|
54
|
+
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.6.5-canary-a27f526c-20251125032833",
|
|
55
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.5-canary-a27f526c-20251125032833",
|
|
56
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.6.5-canary-a27f526c-20251125032833",
|
|
57
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.6.5-canary-a27f526c-20251125032833",
|
|
58
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.5-canary-a27f526c-20251125032833",
|
|
59
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.6.5-canary-a27f526c-20251125032833",
|
|
60
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.6.5-canary-a27f526c-20251125032833",
|
|
61
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.6.5-canary-a27f526c-20251125032833",
|
|
62
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.6.5-canary-a27f526c-20251125032833",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.6.5-canary-a27f526c-20251125032833"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|