@rspack-canary/browser 1.7.3-canary-965a4980-20260119085659 → 1.7.3-canary-6991b7b5-20260119174555

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.
Files changed (33) hide show
  1. package/dist/Compiler.d.ts +0 -1
  2. package/dist/MultiCompiler.d.ts +1 -1
  3. package/dist/browser/middleware.d.ts +1 -0
  4. package/dist/builtin-loader/lightningcss/index.d.ts +5 -0
  5. package/dist/builtin-loader/swc/types.d.ts +4 -2
  6. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  7. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  8. package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +5 -0
  9. package/dist/builtin-plugin/RsdoctorPlugin.d.ts +5 -1
  10. package/dist/builtin-plugin/RuntimePlugin.d.ts +4 -0
  11. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
  12. package/dist/builtin-plugin/html-plugin/options.d.ts +5 -0
  13. package/dist/builtin-plugin/html-plugin/plugin.d.ts +5 -1
  14. package/dist/builtin-plugin/index.d.ts +0 -1
  15. package/dist/config/normalization.d.ts +32 -4
  16. package/dist/config/types.d.ts +145 -56
  17. package/dist/exports.d.ts +15 -4
  18. package/dist/{index.js → index.mjs} +36360 -4202
  19. package/dist/{index.js.LICENSE.txt → index.mjs.LICENSE.txt} +7 -0
  20. package/dist/lib/DllPlugin.d.ts +1 -1
  21. package/dist/lib/DllReferencePlugin.d.ts +2 -2
  22. package/dist/napi-binding.d.ts +30 -34
  23. package/dist/{rslib-runtime.js → rslib-runtime.mjs} +11 -1
  24. package/dist/rspack.wasi-browser.js +0 -1
  25. package/dist/rspack.wasm32-wasi.wasm +0 -0
  26. package/dist/runtime/moduleFederationDefaultRuntime.d.ts +2 -1
  27. package/dist/stats/statsFactoryUtils.d.ts +3 -0
  28. package/dist/wasi-worker-browser.mjs +22749 -22744
  29. package/package.json +2 -2
  30. package/dist/builtin-plugin/rsc/Coordinator.d.ts +0 -8
  31. package/dist/builtin-plugin/rsc/RscClientPlugin.d.ts +0 -13
  32. package/dist/builtin-plugin/rsc/RscServerPlugin.d.ts +0 -14
  33. package/dist/builtin-plugin/rsc/index.d.ts +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/browser",
3
- "version": "1.7.3-canary-965a4980-20260119085659",
3
+ "version": "1.7.3-canary-6991b7b5-20260119174555",
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.",
@@ -34,7 +34,7 @@
34
34
  "@rspack/lite-tapable": "1.1.0",
35
35
  "@swc/types": "0.1.25",
36
36
  "@types/watchpack": "^2.4.5",
37
- "memfs": "4.51.1",
37
+ "memfs": "4.53.0",
38
38
  "webpack-sources": "3.3.3"
39
39
  },
40
40
  "peerDependencies": {
@@ -1,8 +0,0 @@
1
- import { type Compiler } from '../../Compiler';
2
- export declare const GET_OR_INIT_BINDING: unique symbol;
3
- export declare class Coordinator {
4
- #private;
5
- constructor();
6
- applyServerCompiler(serverCompiler: Compiler): void;
7
- applyClientCompiler(clientCompiler: Compiler): void;
8
- }
@@ -1,13 +0,0 @@
1
- import type binding from '@rspack/binding';
2
- import type { Compiler } from '../..';
3
- import { RspackBuiltinPlugin } from '../base';
4
- import { type Coordinator } from './Coordinator';
5
- export type RscClientPluginOptions = {
6
- coordinator: Coordinator;
7
- };
8
- export declare class RscClientPlugin extends RspackBuiltinPlugin {
9
- #private;
10
- name: string;
11
- constructor(options: RscClientPluginOptions);
12
- raw(compiler: Compiler): binding.BuiltinPlugin;
13
- }
@@ -1,14 +0,0 @@
1
- import type binding from '@rspack/binding';
2
- import type { Compiler } from '../..';
3
- import { RspackBuiltinPlugin } from '../base';
4
- import { type Coordinator } from './Coordinator';
5
- export type RscServerPluginOptions = {
6
- coordinator: Coordinator;
7
- onServerComponentChanges?: () => Promise<void>;
8
- };
9
- export declare class RscServerPlugin extends RspackBuiltinPlugin {
10
- #private;
11
- name: string;
12
- constructor(options: RscServerPluginOptions);
13
- raw(compiler: Compiler): binding.BuiltinPlugin;
14
- }
@@ -1,24 +0,0 @@
1
- import { RscClientPlugin, type RscClientPluginOptions } from './RscClientPlugin';
2
- import { RscServerPlugin } from './RscServerPlugin';
3
- declare class ServerPlugin extends RscServerPlugin {
4
- constructor(options?: Omit<RscClientPluginOptions, 'coordinator'>);
5
- }
6
- declare class ClientPlugin extends RscClientPlugin {
7
- }
8
- export declare const rsc: {
9
- createPlugins: () => {
10
- ServerPlugin: new (options?: Omit<RscClientPluginOptions, "coordinator">) => ServerPlugin;
11
- ClientPlugin: new () => ClientPlugin;
12
- };
13
- layers: {
14
- /**
15
- * The layer for server-only runtime and picking up `react-server` export conditions.
16
- */
17
- readonly rsc: "react-server-components";
18
- /**
19
- * Server Side Rendering layer for app.
20
- */
21
- readonly ssr: "server-side-rendering";
22
- };
23
- };
24
- export {};