@rspack/core 1.3.6 → 1.3.8
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/compiled/graceful-fs/index.js +8 -8
- package/compiled/zod/index.d.ts +2 -1772
- package/compiled/zod/lib/ZodError.d.ts +164 -0
- package/compiled/zod/lib/__tests__/Mocker.d.ts +17 -0
- package/compiled/zod/lib/benchmarks/datetime.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/index.d.ts +1 -0
- package/compiled/zod/lib/benchmarks/ipv4.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/object.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/primitives.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/realworld.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/string.d.ts +5 -0
- package/compiled/zod/lib/benchmarks/union.d.ts +5 -0
- package/compiled/zod/lib/errors.d.ts +5 -0
- package/compiled/zod/lib/external.d.ts +6 -0
- package/compiled/zod/lib/helpers/enumUtil.d.ts +8 -0
- package/compiled/zod/lib/helpers/errorUtil.d.ts +9 -0
- package/compiled/zod/lib/helpers/parseUtil.d.ts +78 -0
- package/compiled/zod/lib/helpers/partialUtil.d.ts +8 -0
- package/compiled/zod/lib/helpers/typeAliases.d.ts +2 -0
- package/compiled/zod/lib/helpers/util.d.ts +82 -0
- package/compiled/zod/lib/index.d.ts +4 -0
- package/compiled/zod/lib/locales/en.d.ts +3 -0
- package/compiled/zod/lib/standard-schema.d.ts +102 -0
- package/compiled/zod/lib/types.d.ts +1062 -0
- package/compiled/zod/package.json +1 -1
- package/dist/ChunkGroup.d.ts +10 -0
- package/dist/RspackError.d.ts +2 -1
- package/dist/builtin-loader/swc/pluginImport.d.ts +1 -1
- package/dist/builtin-loader/swc/types.d.ts +632 -631
- package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +14 -14
- package/dist/config/types.d.ts +15 -2
- package/dist/config/utils.d.ts +1 -1
- package/dist/config/zod.d.ts +84 -77
- package/dist/exports.d.ts +6 -0
- package/dist/index.js +676 -604
- package/dist/swc.d.ts +5 -0
- package/dist/trace/index.d.ts +2 -0
- package/package.json +3 -3
package/dist/exports.d.ts
CHANGED
@@ -23,6 +23,7 @@ export type { StatsAsset, StatsChunk, StatsCompilation, StatsError, StatsModule
|
|
23
23
|
export { Stats } from "./Stats";
|
24
24
|
export { RuntimeModule } from "./RuntimeModule";
|
25
25
|
export { EntryDependency, Dependency, AsyncDependenciesBlock } from "@rspack/binding";
|
26
|
+
export type { RspackError, RspackSeverity } from "./RspackError";
|
26
27
|
import * as ModuleFilenameHelpers from "./lib/ModuleFilenameHelpers";
|
27
28
|
export { ModuleFilenameHelpers };
|
28
29
|
export { Template } from "./Template";
|
@@ -168,6 +169,7 @@ export { ContextReplacementPlugin } from "./builtin-plugin";
|
|
168
169
|
export type { SwcLoaderEnvConfig, SwcLoaderEsParserConfig, SwcLoaderJscConfig, SwcLoaderModuleConfig, SwcLoaderOptions, SwcLoaderParserConfig, SwcLoaderTransformConfig, SwcLoaderTsParserConfig } from "./builtin-loader/swc/index";
|
169
170
|
export type { LoaderOptions as LightningcssLoaderOptions, FeatureOptions as LightningcssFeatureOptions } from "./builtin-loader/lightningcss/index";
|
170
171
|
export type { SubresourceIntegrityPluginOptions } from "./builtin-plugin";
|
172
|
+
import { minify, transform } from "./swc";
|
171
173
|
interface Experiments {
|
172
174
|
globalTrace: {
|
173
175
|
register: (filter: string, layer: "chrome" | "logger", output: string) => Promise<void>;
|
@@ -177,5 +179,9 @@ interface Experiments {
|
|
177
179
|
RsdoctorPlugin: typeof RsdoctorPlugin;
|
178
180
|
SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
|
179
181
|
lazyCompilationMiddleware: typeof lazyCompilationMiddleware;
|
182
|
+
swc: {
|
183
|
+
transform: typeof transform;
|
184
|
+
minify: typeof minify;
|
185
|
+
};
|
180
186
|
}
|
181
187
|
export declare const experiments: Experiments;
|