@rspack-canary/binding 1.7.0-canary-22d591c5-20251222090400 → 1.7.0-canary-dcc2f8c9-20251223064055
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 +5 -32
- package/package.json +11 -11
package/napi-binding.d.ts
CHANGED
|
@@ -540,13 +540,10 @@ export declare enum BuiltinPluginName {
|
|
|
540
540
|
SplitChunksPlugin = 'SplitChunksPlugin',
|
|
541
541
|
RemoveDuplicateModulesPlugin = 'RemoveDuplicateModulesPlugin',
|
|
542
542
|
ShareRuntimePlugin = 'ShareRuntimePlugin',
|
|
543
|
-
SharedUsedExportsOptimizerPlugin = 'SharedUsedExportsOptimizerPlugin',
|
|
544
543
|
ContainerPlugin = 'ContainerPlugin',
|
|
545
544
|
ContainerReferencePlugin = 'ContainerReferencePlugin',
|
|
546
545
|
ProvideSharedPlugin = 'ProvideSharedPlugin',
|
|
547
546
|
ConsumeSharedPlugin = 'ConsumeSharedPlugin',
|
|
548
|
-
CollectSharedEntryPlugin = 'CollectSharedEntryPlugin',
|
|
549
|
-
SharedContainerPlugin = 'SharedContainerPlugin',
|
|
550
547
|
ModuleFederationRuntimePlugin = 'ModuleFederationRuntimePlugin',
|
|
551
548
|
ModuleFederationManifestPlugin = 'ModuleFederationManifestPlugin',
|
|
552
549
|
NamedModuleIdsPlugin = 'NamedModuleIdsPlugin',
|
|
@@ -1841,11 +1838,6 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1841
1838
|
onEnd?: () => void
|
|
1842
1839
|
}
|
|
1843
1840
|
|
|
1844
|
-
export interface RawCollectShareEntryPluginOptions {
|
|
1845
|
-
consumes: Array<RawConsumeOptions>
|
|
1846
|
-
filename?: string
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
1841
|
export interface RawConsumeOptions {
|
|
1850
1842
|
key: string
|
|
1851
1843
|
import?: string
|
|
@@ -1857,7 +1849,6 @@ export interface RawConsumeOptions {
|
|
|
1857
1849
|
strictVersion: boolean
|
|
1858
1850
|
singleton: boolean
|
|
1859
1851
|
eager: boolean
|
|
1860
|
-
treeshakeStrategy?: string
|
|
1861
1852
|
}
|
|
1862
1853
|
|
|
1863
1854
|
export interface RawConsumeSharedPluginOptions {
|
|
@@ -2133,7 +2124,6 @@ export interface RawExperimentCacheOptionsPersistent {
|
|
|
2133
2124
|
export interface RawExperiments {
|
|
2134
2125
|
topLevelAwait: boolean
|
|
2135
2126
|
incremental?: false | { [key: string]: boolean }
|
|
2136
|
-
parallelCodeSplitting: boolean
|
|
2137
2127
|
rspackFuture?: RawRspackFuture
|
|
2138
2128
|
cache: boolean | { type: "persistent" } & RawExperimentCacheOptionsPersistent | { type: "memory" }
|
|
2139
2129
|
useInputFileSystem?: false | Array<RegExp>
|
|
@@ -2472,8 +2462,13 @@ export interface RawModuleFederationManifestPluginOptions {
|
|
|
2472
2462
|
buildInfo?: RawStatsBuildInfo
|
|
2473
2463
|
}
|
|
2474
2464
|
|
|
2465
|
+
export interface RawModuleFederationRuntimeExperimentsOptions {
|
|
2466
|
+
asyncStartup?: boolean
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2475
2469
|
export interface RawModuleFederationRuntimePluginOptions {
|
|
2476
2470
|
entryRuntime?: string | undefined
|
|
2471
|
+
experiments?: RawModuleFederationRuntimeExperimentsOptions
|
|
2477
2472
|
}
|
|
2478
2473
|
|
|
2479
2474
|
export interface RawModuleFilenameTemplateFnCtx {
|
|
@@ -2589,12 +2584,6 @@ export interface RawOptimizationOptions {
|
|
|
2589
2584
|
avoidEntryIife: boolean
|
|
2590
2585
|
}
|
|
2591
2586
|
|
|
2592
|
-
export interface RawOptimizeSharedConfig {
|
|
2593
|
-
shareKey: string
|
|
2594
|
-
treeshake: boolean
|
|
2595
|
-
usedExports?: Array<string>
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
2587
|
export interface RawOptions {
|
|
2599
2588
|
name?: string
|
|
2600
2589
|
mode?: undefined | 'production' | 'development' | 'none'
|
|
@@ -2695,7 +2684,6 @@ export interface RawProvideOptions {
|
|
|
2695
2684
|
singleton?: boolean
|
|
2696
2685
|
requiredVersion?: string | false | undefined
|
|
2697
2686
|
strictVersion?: boolean
|
|
2698
|
-
treeshakeStrategy?: string
|
|
2699
2687
|
}
|
|
2700
2688
|
|
|
2701
2689
|
export interface RawRelated {
|
|
@@ -2832,21 +2820,6 @@ export interface RawRuntimeChunkOptions {
|
|
|
2832
2820
|
name: string | ((entrypoint: { name: string }) => string)
|
|
2833
2821
|
}
|
|
2834
2822
|
|
|
2835
|
-
export interface RawSharedContainerPluginOptions {
|
|
2836
|
-
name: string
|
|
2837
|
-
request: string
|
|
2838
|
-
version: string
|
|
2839
|
-
fileName?: string
|
|
2840
|
-
library: JsLibraryOptions
|
|
2841
|
-
}
|
|
2842
|
-
|
|
2843
|
-
export interface RawSharedUsedExportsOptimizerPluginOptions {
|
|
2844
|
-
shared: Array<RawOptimizeSharedConfig>
|
|
2845
|
-
injectUsedExports?: boolean
|
|
2846
|
-
manifestFileName?: string
|
|
2847
|
-
statsFileName?: string
|
|
2848
|
-
}
|
|
2849
|
-
|
|
2850
2823
|
export interface RawSizeLimitsPluginOptions {
|
|
2851
2824
|
assetFilter?: (assetFilename: string) => boolean
|
|
2852
2825
|
hints?: "error" | "warning"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/binding",
|
|
3
|
-
"version": "1.7.0-canary-
|
|
3
|
+
"version": "1.7.0-canary-dcc2f8c9-20251223064055",
|
|
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-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.7.0-canary-
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-
|
|
60
|
-
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.7.0-canary-
|
|
61
|
-
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.7.0-canary-
|
|
62
|
-
"@rspack/binding-linux-x64-
|
|
63
|
-
"@rspack/binding-linux-x64-
|
|
54
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
55
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
57
|
+
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
58
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
59
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
60
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
61
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
62
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.7.0-canary-dcc2f8c9-20251223064055",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.7.0-canary-dcc2f8c9-20251223064055"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|