@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/Compilation.d.ts +2 -2
- package/dist/MultiCompiler.d.ts +1 -1
- package/dist/RuntimeModule.d.ts +3 -1
- package/dist/browser/service.d.ts +1 -1
- package/dist/builtin-loader/lightningcss/index.d.ts +0 -5
- package/dist/builtin-loader/swc/types.d.ts +0 -6
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +0 -5
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +1 -5
- package/dist/builtin-plugin/RuntimePlugin.d.ts +0 -4
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/options.d.ts +0 -5
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +1 -5
- package/dist/config/normalization.d.ts +4 -32
- package/dist/config/target.d.ts +2 -0
- package/dist/config/types.d.ts +62 -144
- package/dist/exports.d.ts +2 -14
- package/dist/index.js +34866 -0
- package/dist/{index.mjs.LICENSE.txt → index.js.LICENSE.txt} +0 -7
- package/dist/lib/DllPlugin.d.ts +1 -1
- package/dist/lib/DllReferencePlugin.d.ts +2 -2
- package/dist/napi-binding.d.ts +23 -29
- package/dist/rslib-runtime.js +29 -0
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/dist/runtime/moduleFederationDefaultRuntime.d.ts +1 -2
- package/dist/stats/statsFactoryUtils.d.ts +0 -3
- package/package.json +1 -1
- package/dist/index.mjs +0 -67227
- 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
|
|
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;
|