@rspack-canary/binding 1.6.5-canary-57e2a56d-20251120152633 → 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 +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
|
+
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',
|
|
@@ -1517,6 +1520,8 @@ export interface KnownAssetInfo {
|
|
|
1517
1520
|
cssUnusedIdents?: Array<string>
|
|
1518
1521
|
/** whether this asset is over the size limit */
|
|
1519
1522
|
isOverSizeLimit?: boolean
|
|
1523
|
+
/** the asset type */
|
|
1524
|
+
assetType?: string
|
|
1520
1525
|
}
|
|
1521
1526
|
|
|
1522
1527
|
export declare function loadBrowserslist(input: string | undefined | null, context: string): Array<string> | null
|
|
@@ -1835,6 +1840,11 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1835
1840
|
onEnd?: () => void
|
|
1836
1841
|
}
|
|
1837
1842
|
|
|
1843
|
+
export interface RawCollectShareEntryPluginOptions {
|
|
1844
|
+
consumes: Array<RawConsumeOptions>
|
|
1845
|
+
filename?: string
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1838
1848
|
export interface RawConsumeOptions {
|
|
1839
1849
|
key: string
|
|
1840
1850
|
import?: string
|
|
@@ -2582,6 +2592,19 @@ export interface RawOptimizationOptions {
|
|
|
2582
2592
|
avoidEntryIife: boolean
|
|
2583
2593
|
}
|
|
2584
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
|
+
|
|
2585
2608
|
export interface RawOptions {
|
|
2586
2609
|
name?: string
|
|
2587
2610
|
mode?: undefined | 'production' | 'development' | 'none'
|
|
@@ -2818,6 +2841,14 @@ export interface RawRuntimeChunkOptions {
|
|
|
2818
2841
|
name: string | ((entrypoint: { name: string }) => string)
|
|
2819
2842
|
}
|
|
2820
2843
|
|
|
2844
|
+
export interface RawShareContainerPluginOptions {
|
|
2845
|
+
name: string
|
|
2846
|
+
request: string
|
|
2847
|
+
version: string
|
|
2848
|
+
fileName?: string
|
|
2849
|
+
library: JsLibraryOptions
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2821
2852
|
export interface RawSizeLimitsPluginOptions {
|
|
2822
2853
|
assetFilter?: (assetFilename: string) => boolean
|
|
2823
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-
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.6.5-canary-
|
|
57
|
-
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.5-canary-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-win32-
|
|
62
|
-
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.6.5-canary-
|
|
63
|
-
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.6.5-canary-
|
|
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",
|