@rspack-canary/binding 1.6.5-canary-480f74ac-20251120174032 → 1.6.5-canary-1b7f543c-20251121112112
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
|
+
OptimizeDependencyReferencedExportsPlugin = 'OptimizeDependencyReferencedExportsPlugin',
|
|
543
544
|
ContainerPlugin = 'ContainerPlugin',
|
|
544
545
|
ContainerReferencePlugin = 'ContainerReferencePlugin',
|
|
545
546
|
ProvideSharedPlugin = 'ProvideSharedPlugin',
|
|
546
547
|
ConsumeSharedPlugin = 'ConsumeSharedPlugin',
|
|
548
|
+
CollectShareEntryPlugin = 'CollectShareEntryPlugin',
|
|
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,19 @@ export interface RawOptimizationOptions {
|
|
|
2584
2592
|
avoidEntryIife: boolean
|
|
2585
2593
|
}
|
|
2586
2594
|
|
|
2595
|
+
export interface RawOptimizeDependencyReferencedExportsPluginOptions {
|
|
2596
|
+
shared: Array<RawOptimizeSharedConfig>
|
|
2597
|
+
injectUsedExports?: boolean
|
|
2598
|
+
manifestFileName?: string
|
|
2599
|
+
statsFileName?: string
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
export interface RawOptimizeSharedConfig {
|
|
2603
|
+
shareKey: string
|
|
2604
|
+
treeshake: boolean
|
|
2605
|
+
usedExports?: Array<string>
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2587
2608
|
export interface RawOptions {
|
|
2588
2609
|
name?: string
|
|
2589
2610
|
mode?: undefined | 'production' | 'development' | 'none'
|
|
@@ -2820,6 +2841,14 @@ export interface RawRuntimeChunkOptions {
|
|
|
2820
2841
|
name: string | ((entrypoint: { name: string }) => string)
|
|
2821
2842
|
}
|
|
2822
2843
|
|
|
2844
|
+
export interface RawShareContainerPluginOptions {
|
|
2845
|
+
name: string
|
|
2846
|
+
request: string
|
|
2847
|
+
version: string
|
|
2848
|
+
fileName?: string
|
|
2849
|
+
library: JsLibraryOptions
|
|
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-1b7f543c-20251121112112",
|
|
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-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.6.5-canary-
|
|
56
|
-
"@rspack/binding-linux-arm64-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.5-canary-
|
|
59
|
-
"@rspack/binding-
|
|
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-1b7f543c-20251121112112",
|
|
55
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.6.5-canary-1b7f543c-20251121112112",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.6.5-canary-1b7f543c-20251121112112",
|
|
57
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.5-canary-1b7f543c-20251121112112",
|
|
58
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.5-canary-1b7f543c-20251121112112",
|
|
59
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.6.5-canary-1b7f543c-20251121112112",
|
|
60
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.6.5-canary-1b7f543c-20251121112112",
|
|
61
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.6.5-canary-1b7f543c-20251121112112",
|
|
62
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.6.5-canary-1b7f543c-20251121112112",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.6.5-canary-1b7f543c-20251121112112"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|