@rspack-canary/binding 1.6.7-canary-ceb43c53-20251208173610 → 1.6.7-canary-f7e6adf4-20251211131042
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 +31 -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
|
+
SharedContainerPlugin = 'SharedContainerPlugin',
|
|
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
|
|
@@ -1848,6 +1856,7 @@ export interface RawConsumeOptions {
|
|
|
1848
1856
|
strictVersion: boolean
|
|
1849
1857
|
singleton: boolean
|
|
1850
1858
|
eager: boolean
|
|
1859
|
+
treeshakeStrategy?: string
|
|
1851
1860
|
}
|
|
1852
1861
|
|
|
1853
1862
|
export interface RawConsumeSharedPluginOptions {
|
|
@@ -2586,6 +2595,12 @@ export interface RawOptimizationOptions {
|
|
|
2586
2595
|
avoidEntryIife: boolean
|
|
2587
2596
|
}
|
|
2588
2597
|
|
|
2598
|
+
export interface RawOptimizeSharedConfig {
|
|
2599
|
+
shareKey: string
|
|
2600
|
+
treeshake: boolean
|
|
2601
|
+
usedExports?: Array<string>
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2589
2604
|
export interface RawOptions {
|
|
2590
2605
|
name?: string
|
|
2591
2606
|
mode?: undefined | 'production' | 'development' | 'none'
|
|
@@ -2686,6 +2701,7 @@ export interface RawProvideOptions {
|
|
|
2686
2701
|
singleton?: boolean
|
|
2687
2702
|
requiredVersion?: string | false | undefined
|
|
2688
2703
|
strictVersion?: boolean
|
|
2704
|
+
treeshakeStrategy?: string
|
|
2689
2705
|
}
|
|
2690
2706
|
|
|
2691
2707
|
export interface RawRelated {
|
|
@@ -2822,6 +2838,21 @@ export interface RawRuntimeChunkOptions {
|
|
|
2822
2838
|
name: string | ((entrypoint: { name: string }) => string)
|
|
2823
2839
|
}
|
|
2824
2840
|
|
|
2841
|
+
export interface RawSharedContainerPluginOptions {
|
|
2842
|
+
name: string
|
|
2843
|
+
request: string
|
|
2844
|
+
version: string
|
|
2845
|
+
fileName?: string
|
|
2846
|
+
library: JsLibraryOptions
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
export interface RawSharedUsedExportsOptimizerPluginOptions {
|
|
2850
|
+
shared: Array<RawOptimizeSharedConfig>
|
|
2851
|
+
injectUsedExports?: boolean
|
|
2852
|
+
manifestFileName?: string
|
|
2853
|
+
statsFileName?: string
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2825
2856
|
export interface RawSizeLimitsPluginOptions {
|
|
2826
2857
|
assetFilter?: (assetFilename: string) => boolean
|
|
2827
2858
|
hints?: "error" | "warning"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/binding",
|
|
3
|
-
"version": "1.6.7-canary-
|
|
3
|
+
"version": "1.6.7-canary-f7e6adf4-20251211131042",
|
|
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-
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.7-canary-
|
|
58
|
-
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.6.7-canary-
|
|
59
|
-
"@rspack/binding-
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-
|
|
63
|
-
"@rspack/binding-
|
|
54
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.6.7-canary-f7e6adf4-20251211131042",
|
|
55
|
+
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.6.7-canary-f7e6adf4-20251211131042",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.6.7-canary-f7e6adf4-20251211131042",
|
|
57
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.7-canary-f7e6adf4-20251211131042",
|
|
58
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.6.7-canary-f7e6adf4-20251211131042",
|
|
59
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.7-canary-f7e6adf4-20251211131042",
|
|
60
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.6.7-canary-f7e6adf4-20251211131042",
|
|
61
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.6.7-canary-f7e6adf4-20251211131042",
|
|
62
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.6.7-canary-f7e6adf4-20251211131042",
|
|
63
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.6.7-canary-f7e6adf4-20251211131042"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|