@rspack-canary/core 1.6.0-canary-2ccce257-20251016173648 → 1.6.0-canary-beafb11e-20251018173706
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/RspackError.d.ts +3 -0
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +0 -1
- package/dist/builtin-plugin/html-plugin/options.d.ts +0 -1
- package/dist/exports.d.ts +1 -3
- package/dist/index.js +298 -4640
- package/dist/util/index.d.ts +0 -3
- package/dist/util/validateConfig.d.ts +5 -0
- package/package.json +4 -5
- package/dist/schema/config.d.ts +0 -1030
- package/dist/schema/loaders.d.ts +0 -402
- package/dist/schema/plugins.d.ts +0 -167
- package/dist/schema/utils.d.ts +0 -5
- package/dist/schema/validate.d.ts +0 -10
package/dist/RspackError.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ declare const NativeSubresourceIntegrityPlugin: {
|
|
|
28
28
|
export declare class SubresourceIntegrityPlugin extends NativeSubresourceIntegrityPlugin {
|
|
29
29
|
private integrities;
|
|
30
30
|
private options;
|
|
31
|
-
private validateError;
|
|
32
31
|
constructor(options?: SubresourceIntegrityPluginOptions);
|
|
33
32
|
private isEnabled;
|
|
34
33
|
private getIntegrityChecksumForAsset;
|
|
@@ -77,7 +77,6 @@ export type HtmlRspackPluginOptions = {
|
|
|
77
77
|
*/
|
|
78
78
|
[key: string]: any;
|
|
79
79
|
};
|
|
80
|
-
export declare function validateHtmlPluginOptions(options: HtmlRspackPluginOptions): string | null;
|
|
81
80
|
export declare const getPluginOptions: (compilation: Compilation, uid: number) => any;
|
|
82
81
|
export declare const setPluginOptions: (compilation: Compilation, uid: number, options: HtmlRspackPluginOptions) => void;
|
|
83
82
|
export declare const cleanPluginOptions: (compilation: Compilation, uid: number) => void;
|
package/dist/exports.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export type { default as ModuleGraph } from "./ModuleGraph";
|
|
|
20
20
|
export { MultiStats } from "./MultiStats";
|
|
21
21
|
export { NormalModule } from "./NormalModule";
|
|
22
22
|
export type { NormalModuleFactory } from "./NormalModuleFactory";
|
|
23
|
-
export type
|
|
23
|
+
export { type RspackError, type RspackSeverity, ValidationError } from "./RspackError";
|
|
24
24
|
export { RuntimeGlobals } from "./RuntimeGlobals";
|
|
25
25
|
export { RuntimeModule } from "./RuntimeModule";
|
|
26
26
|
export type { StatsAsset, StatsChunk, StatsCompilation, StatsError, StatsModule } from "./Stats";
|
|
@@ -42,8 +42,6 @@ type Config = {
|
|
|
42
42
|
};
|
|
43
43
|
export declare const config: Config;
|
|
44
44
|
export type * from "./config";
|
|
45
|
-
import { ValidationError } from "./schema/validate";
|
|
46
|
-
export { ValidationError };
|
|
47
45
|
export declare const util: {
|
|
48
46
|
createHash: (algorithm: "debug" | "xxhash64" | "md4" | "native-md4" | (string & {}) | (new () => import("./util/hash").default)) => import("./util/hash").default;
|
|
49
47
|
cleverMerge: <First, Second>(first: First, second: Second) => First | Second | (First & Second);
|