@rspack/core 1.3.15 → 1.4.0-beta.1
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/@swc/types/index.d.ts +18 -2
- package/compiled/@swc/types/package.json +1 -1
- package/compiled/tinypool/README.md +4 -196
- package/compiled/tinypool/dist/common-Qw-RoVFD.js +28 -0
- package/compiled/tinypool/dist/entry/process.d.ts +1 -2
- package/compiled/tinypool/dist/entry/process.js +63 -83
- package/compiled/tinypool/dist/entry/utils.d.ts +3 -1
- package/compiled/tinypool/dist/entry/utils.js +3 -9
- package/compiled/tinypool/dist/entry/worker.d.ts +1 -2
- package/compiled/tinypool/dist/entry/worker.js +66 -94
- package/compiled/tinypool/dist/index.d.ts +132 -125
- package/compiled/tinypool/dist/index.js +771 -1035
- package/compiled/tinypool/dist/utils-B--2TaWv.js +38 -0
- package/compiled/tinypool/dist/utils-De75vAgL.js +10 -0
- package/compiled/tinypool/package.json +6 -22
- package/compiled/zod/dist/types/v4/classic/schemas.d.ts +19 -14
- package/compiled/zod/dist/types/v4/core/api.d.ts +5 -4
- package/compiled/zod/dist/types/v4/core/checks.d.ts +1 -1
- package/compiled/zod/dist/types/v4/core/core.d.ts +1 -1
- package/compiled/zod/dist/types/v4/core/registries.d.ts +3 -1
- package/compiled/zod/dist/types/v4/core/schemas.d.ts +33 -39
- package/compiled/zod/dist/types/v4/core/to-json-schema.d.ts +2 -2
- package/compiled/zod/dist/types/v4/core/util.d.ts +1 -1
- package/compiled/zod/dist/types/v4/locales/index.d.ts +1 -0
- package/compiled/zod/dist/types/v4/locales/ps.d.ts +4 -0
- package/compiled/zod/dist/types/v4/mini/schemas.d.ts +77 -125
- package/compiled/zod/index.js +33 -33
- package/compiled/zod/package.json +1 -1
- package/dist/BuildInfo.d.ts +17 -0
- package/dist/FileSystem.d.ts +26 -3
- package/dist/Module.d.ts +1 -13
- package/dist/MultiCompiler.d.ts +4 -1
- package/dist/MultiWatching.d.ts +1 -0
- package/dist/builtin-loader/swc/types.d.ts +315 -296
- package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +3 -3
- package/dist/config/devServer.d.ts +10 -10
- package/dist/config/normalization.d.ts +2 -0
- package/dist/config/types.d.ts +17 -1
- package/dist/config/utils.d.ts +1 -0
- package/dist/config/zod.d.ts +1707 -1086
- package/dist/cssExtractLoader.js +5 -5
- package/dist/exports.d.ts +5 -2
- package/dist/index.js +1130 -982
- package/dist/loader-runner/index.d.ts +0 -9
- package/dist/swc.d.ts +2 -0
- package/dist/trace/index.d.ts +16 -18
- package/dist/worker.js +2 -2
- package/module.d.ts +1 -1
- package/package.json +10 -10
- package/compiled/tinypool/dist/chunk-6LX4VMOV.js +0 -31
- package/compiled/tinypool/dist/chunk-ACQHDOFQ.js +0 -12
- package/compiled/tinypool/dist/chunk-E2J7JLFN.js +0 -53
- package/compiled/tinypool/dist/chunk-UBWFVGJX.js +0 -38
package/dist/cssExtractLoader.js
CHANGED
@@ -19,14 +19,14 @@ __webpack_require__.n = (module)=>{
|
|
19
19
|
};
|
20
20
|
var __webpack_exports__ = {};
|
21
21
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
22
|
-
|
23
|
-
|
22
|
+
ABSOLUTE_PUBLIC_PATH: ()=>ABSOLUTE_PUBLIC_PATH,
|
23
|
+
default: ()=>css_extract_loader,
|
24
24
|
SINGLE_DOT_PATH_SEGMENT: ()=>SINGLE_DOT_PATH_SEGMENT,
|
25
|
+
MODULE_TYPE: ()=>MODULE_TYPE,
|
25
26
|
BASE_URI: ()=>BASE_URI,
|
26
|
-
|
27
|
-
pitch: ()=>pitch,
|
27
|
+
hotLoader: ()=>hotLoader,
|
28
28
|
AUTO_PUBLIC_PATH: ()=>AUTO_PUBLIC_PATH,
|
29
|
-
|
29
|
+
pitch: ()=>pitch
|
30
30
|
});
|
31
31
|
let external_node_path_namespaceObject = require("node:path");
|
32
32
|
var external_node_path_default = __webpack_require__.n(external_node_path_namespaceObject);
|
package/dist/exports.d.ts
CHANGED
@@ -21,6 +21,7 @@ export type { NormalModuleFactory } from "./NormalModuleFactory";
|
|
21
21
|
export type { default as ModuleGraph } from "./ModuleGraph";
|
22
22
|
export { RuntimeGlobals } from "./RuntimeGlobals";
|
23
23
|
export type { StatsAsset, StatsChunk, StatsCompilation, StatsError, StatsModule } from "./Stats";
|
24
|
+
export { StatsErrorCode } from "./stats/statsFactoryUtils";
|
24
25
|
export { Stats } from "./Stats";
|
25
26
|
export { RuntimeModule } from "./RuntimeModule";
|
26
27
|
export { EntryDependency, Dependency, AsyncDependenciesBlock } from "@rspack/binding";
|
@@ -172,10 +173,10 @@ export { ContextReplacementPlugin } from "./builtin-plugin";
|
|
172
173
|
export type { SwcLoaderEnvConfig, SwcLoaderEsParserConfig, SwcLoaderJscConfig, SwcLoaderModuleConfig, SwcLoaderOptions, SwcLoaderParserConfig, SwcLoaderTransformConfig, SwcLoaderTsParserConfig } from "./builtin-loader/swc/index";
|
173
174
|
export type { LoaderOptions as LightningcssLoaderOptions, FeatureOptions as LightningcssFeatureOptions } from "./builtin-loader/lightningcss/index";
|
174
175
|
export type { SubresourceIntegrityPluginOptions } from "./builtin-plugin";
|
175
|
-
import { minify, transform } from "./swc";
|
176
|
+
import { minify, minifySync, transform, transformSync } from "./swc";
|
176
177
|
interface Experiments {
|
177
178
|
globalTrace: {
|
178
|
-
register: (filter: string, layer: "
|
179
|
+
register: (filter: string, layer: "logger" | "perfetto", output: string) => Promise<void>;
|
179
180
|
cleanup: () => Promise<void>;
|
180
181
|
};
|
181
182
|
RemoveDuplicateModulesPlugin: typeof RemoveDuplicateModulesPlugin;
|
@@ -185,6 +186,8 @@ interface Experiments {
|
|
185
186
|
swc: {
|
186
187
|
transform: typeof transform;
|
187
188
|
minify: typeof minify;
|
189
|
+
transformSync: typeof transformSync;
|
190
|
+
minifySync: typeof minifySync;
|
188
191
|
};
|
189
192
|
CssChunkingPlugin: typeof CssChunkingPlugin;
|
190
193
|
}
|