@rspack-canary/binding 1.6.5-canary-83f58863-20251120092333 → 1.6.5-canary-480f74ac-20251120174032
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 +2 -29
- 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
|
-
OptimizeDependencyReferencedExportsPlugin = 'OptimizeDependencyReferencedExportsPlugin',
|
|
544
543
|
ContainerPlugin = 'ContainerPlugin',
|
|
545
544
|
ContainerReferencePlugin = 'ContainerReferencePlugin',
|
|
546
545
|
ProvideSharedPlugin = 'ProvideSharedPlugin',
|
|
547
546
|
ConsumeSharedPlugin = 'ConsumeSharedPlugin',
|
|
548
|
-
CollectShareEntryPlugin = 'CollectShareEntryPlugin',
|
|
549
|
-
ShareContainerPlugin = 'ShareContainerPlugin',
|
|
550
547
|
ModuleFederationRuntimePlugin = 'ModuleFederationRuntimePlugin',
|
|
551
548
|
ModuleFederationManifestPlugin = 'ModuleFederationManifestPlugin',
|
|
552
549
|
NamedModuleIdsPlugin = 'NamedModuleIdsPlugin',
|
|
@@ -1520,6 +1517,8 @@ export interface KnownAssetInfo {
|
|
|
1520
1517
|
cssUnusedIdents?: Array<string>
|
|
1521
1518
|
/** whether this asset is over the size limit */
|
|
1522
1519
|
isOverSizeLimit?: boolean
|
|
1520
|
+
/** the asset type */
|
|
1521
|
+
assetType?: string
|
|
1523
1522
|
}
|
|
1524
1523
|
|
|
1525
1524
|
export declare function loadBrowserslist(input: string | undefined | null, context: string): Array<string> | null
|
|
@@ -1838,11 +1837,6 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1838
1837
|
onEnd?: () => void
|
|
1839
1838
|
}
|
|
1840
1839
|
|
|
1841
|
-
export interface RawCollectShareEntryPluginOptions {
|
|
1842
|
-
consumes: Array<RawConsumeOptions>
|
|
1843
|
-
filename?: string
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
1840
|
export interface RawConsumeOptions {
|
|
1847
1841
|
key: string
|
|
1848
1842
|
import?: string
|
|
@@ -2590,19 +2584,6 @@ export interface RawOptimizationOptions {
|
|
|
2590
2584
|
avoidEntryIife: boolean
|
|
2591
2585
|
}
|
|
2592
2586
|
|
|
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
|
-
|
|
2606
2587
|
export interface RawOptions {
|
|
2607
2588
|
name?: string
|
|
2608
2589
|
mode?: undefined | 'production' | 'development' | 'none'
|
|
@@ -2839,14 +2820,6 @@ export interface RawRuntimeChunkOptions {
|
|
|
2839
2820
|
name: string | ((entrypoint: { name: string }) => string)
|
|
2840
2821
|
}
|
|
2841
2822
|
|
|
2842
|
-
export interface RawShareContainerPluginOptions {
|
|
2843
|
-
name: string
|
|
2844
|
-
request: string
|
|
2845
|
-
version: string
|
|
2846
|
-
fileName?: string
|
|
2847
|
-
library: JsLibraryOptions
|
|
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.6.5-canary-
|
|
3
|
+
"version": "1.6.5-canary-480f74ac-20251120174032",
|
|
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-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.5-canary-
|
|
57
|
-
"@rspack/binding-win32-
|
|
58
|
-
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.5-canary-
|
|
59
|
-
"@rspack/binding-win32-
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.6.5-canary-
|
|
62
|
-
"@rspack/binding-
|
|
63
|
-
"@rspack/binding-
|
|
54
|
+
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.6.5-canary-480f74ac-20251120174032",
|
|
55
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.6.5-canary-480f74ac-20251120174032",
|
|
56
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.6.5-canary-480f74ac-20251120174032",
|
|
57
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.6.5-canary-480f74ac-20251120174032",
|
|
58
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.6.5-canary-480f74ac-20251120174032",
|
|
59
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.6.5-canary-480f74ac-20251120174032",
|
|
60
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.6.5-canary-480f74ac-20251120174032",
|
|
61
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.6.5-canary-480f74ac-20251120174032",
|
|
62
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.6.5-canary-480f74ac-20251120174032",
|
|
63
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.6.5-canary-480f74ac-20251120174032"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|