@rspack-canary/binding 1.6.5-canary-886f4882-20251120061913 → 1.6.5-canary-83f58863-20251120092333
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',
|
|
@@ -1835,6 +1838,11 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1835
1838
|
onEnd?: () => void
|
|
1836
1839
|
}
|
|
1837
1840
|
|
|
1841
|
+
export interface RawCollectShareEntryPluginOptions {
|
|
1842
|
+
consumes: Array<RawConsumeOptions>
|
|
1843
|
+
filename?: string
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1838
1846
|
export interface RawConsumeOptions {
|
|
1839
1847
|
key: string
|
|
1840
1848
|
import?: string
|
|
@@ -2582,6 +2590,19 @@ export interface RawOptimizationOptions {
|
|
|
2582
2590
|
avoidEntryIife: boolean
|
|
2583
2591
|
}
|
|
2584
2592
|
|
|
2593
|
+
export interface RawOptimizeDependencyReferencedExportsPluginOptions {
|
|
2594
|
+
shared: Array<RawOptimizeSharedConfig>
|
|
2595
|
+
injectUsedExports?: boolean
|
|
2596
|
+
manifestFileName?: string
|
|
2597
|
+
statsFileName?: string
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
export interface RawOptimizeSharedConfig {
|
|
2601
|
+
shareKey: string
|
|
2602
|
+
treeshake: boolean
|
|
2603
|
+
usedExports?: Array<string>
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2585
2606
|
export interface RawOptions {
|
|
2586
2607
|
name?: string
|
|
2587
2608
|
mode?: undefined | 'production' | 'development' | 'none'
|
|
@@ -2818,6 +2839,14 @@ export interface RawRuntimeChunkOptions {
|
|
|
2818
2839
|
name: string | ((entrypoint: { name: string }) => string)
|
|
2819
2840
|
}
|
|
2820
2841
|
|
|
2842
|
+
export interface RawShareContainerPluginOptions {
|
|
2843
|
+
name: string
|
|
2844
|
+
request: string
|
|
2845
|
+
version: string
|
|
2846
|
+
fileName?: string
|
|
2847
|
+
library: JsLibraryOptions
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2821
2850
|
export interface RawSizeLimitsPluginOptions {
|
|
2822
2851
|
assetFilter?: (assetFilename: string) => boolean
|
|
2823
2852
|
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-83f58863-20251120092333",
|
|
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-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-win32-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-
|
|
63
|
-
"@rspack/binding-linux-x64-
|
|
54
|
+
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.6.5-canary-83f58863-20251120092333",
|
|
55
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.6.5-canary-83f58863-20251120092333",
|
|
56
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.5-canary-83f58863-20251120092333",
|
|
57
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.6.5-canary-83f58863-20251120092333",
|
|
58
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.5-canary-83f58863-20251120092333",
|
|
59
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.6.5-canary-83f58863-20251120092333",
|
|
60
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.6.5-canary-83f58863-20251120092333",
|
|
61
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.6.5-canary-83f58863-20251120092333",
|
|
62
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.6.5-canary-83f58863-20251120092333",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.6.5-canary-83f58863-20251120092333"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|