@rspack-canary/browser 1.7.3-canary-2f0bc179-20260118174706 → 1.7.3-canary-965a4980-20260119085659

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 +1 -0
  2. package/dist/MultiCompiler.d.ts +1 -1
  3. package/dist/builtin-loader/lightningcss/index.d.ts +0 -5
  4. package/dist/builtin-loader/swc/types.d.ts +2 -4
  5. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  6. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  7. package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +0 -5
  8. package/dist/builtin-plugin/RsdoctorPlugin.d.ts +1 -5
  9. package/dist/builtin-plugin/RuntimePlugin.d.ts +0 -4
  10. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
  11. package/dist/builtin-plugin/html-plugin/options.d.ts +0 -5
  12. package/dist/builtin-plugin/html-plugin/plugin.d.ts +1 -5
  13. package/dist/builtin-plugin/index.d.ts +1 -0
  14. package/dist/builtin-plugin/rsc/Coordinator.d.ts +8 -0
  15. package/dist/builtin-plugin/rsc/RscClientPlugin.d.ts +13 -0
  16. package/dist/builtin-plugin/rsc/RscServerPlugin.d.ts +14 -0
  17. package/dist/builtin-plugin/rsc/index.d.ts +24 -0
  18. package/dist/config/normalization.d.ts +4 -32
  19. package/dist/config/types.d.ts +56 -145
  20. package/dist/exports.d.ts +4 -15
  21. package/dist/index.js +35029 -0
  22. package/dist/{index.mjs.LICENSE.txt → index.js.LICENSE.txt} +0 -7
  23. package/dist/lib/DllPlugin.d.ts +1 -1
  24. package/dist/lib/DllReferencePlugin.d.ts +2 -2
  25. package/dist/napi-binding.d.ts +34 -30
  26. package/dist/rslib-runtime.js +29 -0
  27. package/dist/rspack.wasi-browser.js +1 -0
  28. package/dist/rspack.wasm32-wasi.wasm +0 -0
  29. package/dist/runtime/moduleFederationDefaultRuntime.d.ts +1 -2
  30. package/dist/stats/statsFactoryUtils.d.ts +0 -3
  31. package/package.json +2 -2
  32. package/dist/index.mjs +0 -67326
  33. package/dist/rslib-runtime.mjs +0 -68
package/dist/exports.d.ts CHANGED
@@ -31,7 +31,7 @@ export { ModuleFilenameHelpers };
31
31
  export { Template } from './Template';
32
32
  export declare const WebpackError: ErrorConstructor;
33
33
  export type { Watching } from './Watching';
34
- import sources = require('webpack-sources');
34
+ import * as sources from 'webpack-sources';
35
35
  export { sources };
36
36
  import { applyRspackOptionsDefaults, getNormalizedRspackOptions } from './config';
37
37
  type Config = {
@@ -47,11 +47,7 @@ export declare const util: {
47
47
  cleverMerge: <First, Second>(first: First, second: Second) => First | Second | (First & Second);
48
48
  };
49
49
  export type { BannerPluginArgument, DefinePluginOptions, EntryOptions, ProgressPluginArgument, ProvidePluginOptions, } from './builtin-plugin';
50
- export { BannerPlugin, CaseSensitivePlugin,
51
- /**
52
- * @deprecated Use `rspack.CaseSensitivePlugin` instead
53
- */
54
- CaseSensitivePlugin as WarnCaseSensitiveModulesPlugin, DefinePlugin, DynamicEntryPlugin, EntryPlugin, ExternalsPlugin, HotModuleReplacementPlugin, IgnorePlugin, type IgnorePluginOptions, NoEmitOnErrorsPlugin, ProgressPlugin, ProvidePlugin, RuntimePlugin, } from './builtin-plugin';
50
+ export { BannerPlugin, CaseSensitivePlugin, DefinePlugin, DynamicEntryPlugin, EntryPlugin, ExternalsPlugin, HotModuleReplacementPlugin, IgnorePlugin, type IgnorePluginOptions, NoEmitOnErrorsPlugin, ProgressPlugin, ProvidePlugin, RuntimePlugin, } from './builtin-plugin';
55
51
  export { DllPlugin, type DllPluginOptions } from './lib/DllPlugin';
56
52
  export { DllReferencePlugin, type DllReferencePluginOptions, type DllReferencePluginOptionsContent, type DllReferencePluginOptionsManifest, type DllReferencePluginOptionsSourceType, } from './lib/DllReferencePlugin';
57
53
  export { default as EntryOptionPlugin } from './lib/EntryOptionPlugin';
@@ -59,7 +55,7 @@ export { EnvironmentPlugin } from './lib/EnvironmentPlugin';
59
55
  export { LoaderOptionsPlugin } from './lib/LoaderOptionsPlugin';
60
56
  export { LoaderTargetPlugin } from './lib/LoaderTargetPlugin';
61
57
  export type { OutputFileSystem, WatchFileSystem } from './util/fs';
62
- import { EsmLibraryPlugin, FetchCompileAsyncWasmPlugin, lazyCompilationMiddleware, SubresourceIntegrityPlugin } from './builtin-plugin';
58
+ import { EsmLibraryPlugin, FetchCompileAsyncWasmPlugin, lazyCompilationMiddleware, rsc, SubresourceIntegrityPlugin } from './builtin-plugin';
63
59
  export { SubresourceIntegrityPlugin };
64
60
  interface Web {
65
61
  FetchCompileAsyncWasmPlugin: typeof FetchCompileAsyncWasmPlugin;
@@ -147,18 +143,10 @@ interface Experiments {
147
143
  cleanup: () => Promise<void>;
148
144
  };
149
145
  RemoveDuplicateModulesPlugin: typeof RemoveDuplicateModulesPlugin;
150
- /**
151
- * @deprecated Use `rspack.SubresourceIntegrityPlugin` instead
152
- */
153
- SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
154
146
  EsmLibraryPlugin: typeof EsmLibraryPlugin;
155
147
  RsdoctorPlugin: typeof RsdoctorPlugin;
156
148
  RstestPlugin: typeof RstestPlugin;
157
149
  RslibPlugin: typeof RslibPlugin;
158
- /**
159
- * @deprecated Use `rspack.lazyCompilationMiddleware` instead
160
- */
161
- lazyCompilationMiddleware: typeof lazyCompilationMiddleware;
162
150
  swc: {
163
151
  transform: typeof transform;
164
152
  minify: typeof minify;
@@ -174,5 +162,6 @@ interface Experiments {
174
162
  CssChunkingPlugin: typeof CssChunkingPlugin;
175
163
  createNativePlugin: typeof createNativePlugin;
176
164
  VirtualModulesPlugin: typeof VirtualModulesPlugin;
165
+ rsc: typeof rsc;
177
166
  }
178
167
  export declare const experiments: Experiments;