@rspack-canary/browser 1.6.0-canary-e28e40e9-20251022173516 → 1.6.0-canary-941e2203-20251024173714
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/dist/MultiStats.d.ts +3 -2
- package/dist/builtin-plugin/InlineExportsPlugin.d.ts +9 -0
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +2 -1
- package/dist/builtin-plugin/css-extract/index.d.ts +2 -2
- package/dist/builtin-plugin/index.d.ts +1 -0
- package/dist/config/devServer.d.ts +7 -7
- package/dist/config/types.d.ts +10 -5
- package/dist/index.mjs +188 -241
- package/dist/lib/Cache.d.ts +1 -1
- package/dist/loader-runner/service.d.ts +1 -1
- package/dist/napi-binding.d.ts +1 -0
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/package.json +1 -1
package/dist/lib/Cache.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface Etag {
|
|
|
13
13
|
toString(): string;
|
|
14
14
|
}
|
|
15
15
|
export type CallbackCache<T> = (err?: WebpackError | null, result?: T) => void;
|
|
16
|
-
type GotHandler = (result:
|
|
16
|
+
type GotHandler<T = any> = (result: T | null, callback: (error: Error | null) => void) => void;
|
|
17
17
|
export declare class Cache {
|
|
18
18
|
static STAGE_DISK: number;
|
|
19
19
|
static STAGE_MEMORY: number;
|
|
@@ -61,7 +61,7 @@ export declare enum RequestType {
|
|
|
61
61
|
export declare enum RequestSyncType {
|
|
62
62
|
WaitForPendingRequest = "WaitForPendingRequest"
|
|
63
63
|
}
|
|
64
|
-
export type HandleIncomingRequest = (requestType: RequestType, ...args: any[]) =>
|
|
64
|
+
export type HandleIncomingRequest = (requestType: RequestType, ...args: any[]) => any;
|
|
65
65
|
type WorkerArgs = any[];
|
|
66
66
|
export type WorkerError = Error;
|
|
67
67
|
export declare function serializeError(error: unknown): WorkerError;
|
package/dist/napi-binding.d.ts
CHANGED
|
@@ -565,6 +565,7 @@ export declare enum BuiltinPluginName {
|
|
|
565
565
|
SideEffectsFlagPlugin = 'SideEffectsFlagPlugin',
|
|
566
566
|
FlagDependencyExportsPlugin = 'FlagDependencyExportsPlugin',
|
|
567
567
|
FlagDependencyUsagePlugin = 'FlagDependencyUsagePlugin',
|
|
568
|
+
InlineExportsPlugin = 'InlineExportsPlugin',
|
|
568
569
|
MangleExportsPlugin = 'MangleExportsPlugin',
|
|
569
570
|
ModuleConcatenationPlugin = 'ModuleConcatenationPlugin',
|
|
570
571
|
CssModulesPlugin = 'CssModulesPlugin',
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/browser",
|
|
3
|
-
"version": "1.6.0-canary-
|
|
3
|
+
"version": "1.6.0-canary-941e2203-20251024173714",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
|