@rspack/binding
Advanced tools
Comparing version 0.6.3-canary-bc61872-20240425005651 to 0.6.3-canary-bec7ae2-20240430091746
@@ -116,2 +116,3 @@ /* auto-generated by NAPI-RS */ | ||
EntryPlugin = 'EntryPlugin', | ||
DynamicEntryPlugin = 'DynamicEntryPlugin', | ||
ExternalsPlugin = 'ExternalsPlugin', | ||
@@ -165,2 +166,3 @@ NodeTargetPlugin = 'NodeTargetPlugin', | ||
APIPlugin = 'APIPlugin', | ||
RuntimeChunkPlugin = 'RuntimeChunkPlugin', | ||
HttpExternalsRspackPlugin = 'HttpExternalsRspackPlugin', | ||
@@ -718,3 +720,3 @@ CopyRspackPlugin = 'CopyRspackPlugin', | ||
library: RawLibraryOptions | ||
runtime?: string | ||
runtime?: false | string | ||
filename?: string | ||
@@ -748,2 +750,3 @@ exposes: Array<RawExposeOptions> | ||
info?: RawInfo | ||
transform?: (input: string | Buffer, absoluteFilename: string) => string | Buffer | ||
} | ||
@@ -801,5 +804,15 @@ | ||
export interface RawDynamicEntryPluginOptions { | ||
context: string | ||
entry: () => Promise<RawEntryDynamicResult[]> | ||
} | ||
export interface RawEntryDynamicResult { | ||
import: Array<string> | ||
options: RawEntryOptions | ||
} | ||
export interface RawEntryOptions { | ||
name?: string | ||
runtime?: string | ||
runtime?: false | string | ||
chunkLoading?: string | ||
@@ -1096,2 +1109,3 @@ asyncChunks?: boolean | ||
path: string | ||
pathinfo: boolean | "verbose" | ||
clean: boolean | ||
@@ -1253,2 +1267,10 @@ publicPath: string | ||
export interface RawRuntimeChunkNameFnCtx { | ||
name: string | ||
} | ||
export interface RawRuntimeChunkOptions { | ||
name: string | ((entrypoint: { name: string }) => string) | ||
} | ||
export interface RawSnapshotOptions { | ||
@@ -1255,0 +1277,0 @@ resolve: RawSnapshotStrategy |
{ | ||
"name": "@rspack/binding", | ||
"version": "0.6.3-canary-bc61872-20240425005651", | ||
"version": "0.6.3-canary-bec7ae2-20240430091746", | ||
"license": "MIT", | ||
@@ -25,11 +25,11 @@ "description": "Node binding for rspack", | ||
"optionalDependencies": { | ||
"@rspack/binding-darwin-arm64": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-linux-arm64-gnu": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-darwin-x64": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-linux-x64-gnu": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-linux-x64-musl": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-linux-arm64-musl": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-win32-arm64-msvc": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-win32-ia32-msvc": "0.6.3-canary-bc61872-20240425005651", | ||
"@rspack/binding-win32-x64-msvc": "0.6.3-canary-bc61872-20240425005651" | ||
"@rspack/binding-darwin-arm64": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-darwin-x64": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-linux-arm64-gnu": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-linux-arm64-musl": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-linux-x64-gnu": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-linux-x64-musl": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-win32-ia32-msvc": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-win32-x64-msvc": "0.6.3-canary-bec7ae2-20240430091746", | ||
"@rspack/binding-win32-arm64-msvc": "0.6.3-canary-bec7ae2-20240430091746" | ||
}, | ||
@@ -36,0 +36,0 @@ "scripts": { |
52916
1473