@rspack/binding 1.0.6 → 1.0.8
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/binding.d.ts +14 -2
- package/package.json +10 -10
package/binding.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export class JsCompilation {
|
|
|
81
81
|
getAsset(name: string): JsAsset | null
|
|
82
82
|
getAssetSource(name: string): JsCompatSource | null
|
|
83
83
|
get modules(): Array<ModuleDTO>
|
|
84
|
+
get builtModules(): Array<ModuleDTO>
|
|
84
85
|
getOptimizationBailout(): Array<JsStatsOptimizationBailout>
|
|
85
86
|
getChunks(): Array<JsChunk>
|
|
86
87
|
getNamedChunkKeys(): Array<string>
|
|
@@ -1283,6 +1284,7 @@ export interface RawEvalDevToolModulePluginOptions {
|
|
|
1283
1284
|
export interface RawExperiments {
|
|
1284
1285
|
layers: boolean
|
|
1285
1286
|
topLevelAwait: boolean
|
|
1287
|
+
incremental?: RawIncremental
|
|
1286
1288
|
rspackFuture: RawRspackFuture
|
|
1287
1289
|
}
|
|
1288
1290
|
|
|
@@ -1391,6 +1393,16 @@ export interface RawIgnorePluginOptions {
|
|
|
1391
1393
|
checkResource?: (resource: string, context: string) => boolean
|
|
1392
1394
|
}
|
|
1393
1395
|
|
|
1396
|
+
export interface RawIncremental {
|
|
1397
|
+
make: boolean
|
|
1398
|
+
emitAssets: boolean
|
|
1399
|
+
inferAsyncModules: boolean
|
|
1400
|
+
providedExports: boolean
|
|
1401
|
+
moduleHashes: boolean
|
|
1402
|
+
moduleCodegen: boolean
|
|
1403
|
+
moduleRuntimeRequirements: boolean
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1394
1406
|
export interface RawInfo {
|
|
1395
1407
|
immutable?: boolean
|
|
1396
1408
|
minimized?: boolean
|
|
@@ -1748,7 +1760,7 @@ export interface RawResolveTsconfigOptions {
|
|
|
1748
1760
|
}
|
|
1749
1761
|
|
|
1750
1762
|
export interface RawRspackFuture {
|
|
1751
|
-
|
|
1763
|
+
|
|
1752
1764
|
}
|
|
1753
1765
|
|
|
1754
1766
|
export interface RawRuleSetCondition {
|
|
@@ -1869,7 +1881,7 @@ export interface RawTrustedTypes {
|
|
|
1869
1881
|
* Author Donny/강동윤
|
|
1870
1882
|
* Copyright (c)
|
|
1871
1883
|
*/
|
|
1872
|
-
export function registerGlobalTrace(filter: string, layer: "chrome" | "logger", output: string): void
|
|
1884
|
+
export function registerGlobalTrace(filter: string, layer: "chrome" | "logger"| "console", output: string): void
|
|
1873
1885
|
|
|
1874
1886
|
export enum RegisterJsTapKind {
|
|
1875
1887
|
CompilerThisCompilation = 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"binaryName": "rspack"
|
|
25
25
|
},
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"@rspack/binding-darwin-arm64": "1.0.
|
|
28
|
-
"@rspack/binding-win32-arm64-msvc": "1.0.
|
|
29
|
-
"@rspack/binding-
|
|
30
|
-
"@rspack/binding-
|
|
31
|
-
"@rspack/binding-
|
|
32
|
-
"@rspack/binding-linux-x64-
|
|
33
|
-
"@rspack/binding-linux-
|
|
34
|
-
"@rspack/binding-
|
|
35
|
-
"@rspack/binding-
|
|
27
|
+
"@rspack/binding-darwin-arm64": "1.0.8",
|
|
28
|
+
"@rspack/binding-win32-arm64-msvc": "1.0.8",
|
|
29
|
+
"@rspack/binding-linux-arm64-gnu": "1.0.8",
|
|
30
|
+
"@rspack/binding-win32-ia32-msvc": "1.0.8",
|
|
31
|
+
"@rspack/binding-win32-x64-msvc": "1.0.8",
|
|
32
|
+
"@rspack/binding-linux-x64-gnu": "1.0.8",
|
|
33
|
+
"@rspack/binding-linux-arm64-musl": "1.0.8",
|
|
34
|
+
"@rspack/binding-linux-x64-musl": "1.0.8",
|
|
35
|
+
"@rspack/binding-darwin-x64": "1.0.8"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build:debug": "node scripts/build.js",
|