@rspack-canary/binding 1.7.0-canary-dcc2f8c9-20251223064055 → 1.7.0-canary-e20de023-20251223174329
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 +11 -7
- package/package.json +11 -11
package/napi-binding.d.ts
CHANGED
|
@@ -326,7 +326,7 @@ export declare class JsCompilation {
|
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
export declare class JsCompiler {
|
|
329
|
-
constructor(compilerPath: string, options: RawOptions, builtinPlugins: Array<BuiltinPlugin>, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, intermediateFilesystem: ThreadsafeNodeFS | undefined | null, inputFilesystem: ThreadsafeNodeFS | undefined | null, resolverFactoryReference: JsResolverFactory, unsafeFastDrop: boolean)
|
|
329
|
+
constructor(compilerPath: string, options: RawOptions, builtinPlugins: Array<BuiltinPlugin>, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, intermediateFilesystem: ThreadsafeNodeFS | undefined | null, inputFilesystem: ThreadsafeNodeFS | undefined | null, resolverFactoryReference: JsResolverFactory, unsafeFastDrop: boolean, platform: RawCompilerPlatform)
|
|
330
330
|
setNonSkippableRegisters(kinds: Array<RegisterJsTapKind>): void
|
|
331
331
|
/** Build with the given option passed to the constructor */
|
|
332
332
|
build(callback: (err: null | Error) => void): void
|
|
@@ -556,7 +556,7 @@ export declare enum BuiltinPluginName {
|
|
|
556
556
|
RealContentHashPlugin = 'RealContentHashPlugin',
|
|
557
557
|
RemoveEmptyChunksPlugin = 'RemoveEmptyChunksPlugin',
|
|
558
558
|
EnsureChunkConditionsPlugin = 'EnsureChunkConditionsPlugin',
|
|
559
|
-
|
|
559
|
+
CaseSensitivePlugin = 'CaseSensitivePlugin',
|
|
560
560
|
DataUriPlugin = 'DataUriPlugin',
|
|
561
561
|
FileUriPlugin = 'FileUriPlugin',
|
|
562
562
|
RuntimePlugin = 'RuntimePlugin',
|
|
@@ -1838,6 +1838,15 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1838
1838
|
onEnd?: () => void
|
|
1839
1839
|
}
|
|
1840
1840
|
|
|
1841
|
+
export interface RawCompilerPlatform {
|
|
1842
|
+
web?: boolean | null
|
|
1843
|
+
browser?: boolean | null
|
|
1844
|
+
webworker?: boolean | null
|
|
1845
|
+
node?: boolean | null
|
|
1846
|
+
nwjs?: boolean | null
|
|
1847
|
+
electron?: boolean | null
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1841
1850
|
export interface RawConsumeOptions {
|
|
1842
1851
|
key: string
|
|
1843
1852
|
import?: string
|
|
@@ -2462,13 +2471,8 @@ export interface RawModuleFederationManifestPluginOptions {
|
|
|
2462
2471
|
buildInfo?: RawStatsBuildInfo
|
|
2463
2472
|
}
|
|
2464
2473
|
|
|
2465
|
-
export interface RawModuleFederationRuntimeExperimentsOptions {
|
|
2466
|
-
asyncStartup?: boolean
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
2474
|
export interface RawModuleFederationRuntimePluginOptions {
|
|
2470
2475
|
entryRuntime?: string | undefined
|
|
2471
|
-
experiments?: RawModuleFederationRuntimeExperimentsOptions
|
|
2472
2476
|
}
|
|
2473
2477
|
|
|
2474
2478
|
export interface RawModuleFilenameTemplateFnCtx {
|
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-e20de023-20251223174329",
|
|
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-win32-
|
|
56
|
-
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.7.0-canary-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.7.0-canary-
|
|
63
|
-
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.7.0-canary-
|
|
54
|
+
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.7.0-canary-e20de023-20251223174329",
|
|
55
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.7.0-canary-e20de023-20251223174329",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.7.0-canary-e20de023-20251223174329",
|
|
57
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.7.0-canary-e20de023-20251223174329",
|
|
58
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.7.0-canary-e20de023-20251223174329",
|
|
59
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.7.0-canary-e20de023-20251223174329",
|
|
60
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.7.0-canary-e20de023-20251223174329",
|
|
61
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.7.0-canary-e20de023-20251223174329",
|
|
62
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.7.0-canary-e20de023-20251223174329",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.7.0-canary-e20de023-20251223174329"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|