@rspack/browser 1.7.1 → 2.0.0-canary-20260116

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/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';
@@ -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;