@rspack-canary/core 1.5.8-canary-6c1a40e3-20250925175235 → 1.5.8-canary-15732646-20250927173602
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.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const URLPlugin: {
|
|
2
|
+
new (): {
|
|
3
|
+
name: string;
|
|
4
|
+
_args: [];
|
|
5
|
+
affectedHooks: keyof import("..").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("..").Compiler): void;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -76,6 +76,7 @@ export * from "./SourceMapDevToolPlugin";
|
|
|
76
76
|
export * from "./SplitChunksPlugin";
|
|
77
77
|
export * from "./SubresourceIntegrityPlugin";
|
|
78
78
|
export * from "./SwcJsMinimizerPlugin";
|
|
79
|
+
export * from "./URLPlugin";
|
|
79
80
|
export * from "./WarnCaseSensitiveModulesPlugin";
|
|
80
81
|
export * from "./WebWorkerTemplatePlugin";
|
|
81
82
|
export * from "./WorkerPlugin";
|
package/dist/config/types.d.ts
CHANGED
|
@@ -727,6 +727,11 @@ export type CssModuleParserOptions = {
|
|
|
727
727
|
url?: CssParserUrl;
|
|
728
728
|
};
|
|
729
729
|
type ExportsPresence = "error" | "warn" | "auto" | false;
|
|
730
|
+
export type JavascriptParserCommonjsExports = boolean | "skipInEsm";
|
|
731
|
+
export type JavascriptParserCommonjsOption = boolean | {
|
|
732
|
+
/** Controls how CommonJS export mutations are handled. */
|
|
733
|
+
exports?: JavascriptParserCommonjsExports;
|
|
734
|
+
};
|
|
730
735
|
export type JavascriptParserOptions = {
|
|
731
736
|
/**
|
|
732
737
|
* Specifies global mode for dynamic import.
|
|
@@ -757,7 +762,7 @@ export type JavascriptParserOptions = {
|
|
|
757
762
|
* Enable parsing of new URL() syntax.
|
|
758
763
|
* @default true
|
|
759
764
|
* */
|
|
760
|
-
url?: "relative" | boolean;
|
|
765
|
+
url?: "relative" | "new-url-relative" | boolean;
|
|
761
766
|
/**
|
|
762
767
|
* Enable warnings for full dynamic dependencies
|
|
763
768
|
* @default true
|
|
@@ -795,6 +800,11 @@ export type JavascriptParserOptions = {
|
|
|
795
800
|
requireAsExpression?: boolean;
|
|
796
801
|
requireDynamic?: boolean;
|
|
797
802
|
requireResolve?: boolean;
|
|
803
|
+
/**
|
|
804
|
+
* CommonJS-specific parser options. `true` enables the default behaviour, `{ exports: 'skipInEsm' }` preserves CommonJS export mutations when executed inside ESM.
|
|
805
|
+
* @default true
|
|
806
|
+
*/
|
|
807
|
+
commonjs?: JavascriptParserCommonjsOption;
|
|
798
808
|
importDynamic?: boolean;
|
|
799
809
|
/**
|
|
800
810
|
* Enable magic comments for CommonJS require() expressions.
|
package/dist/index.js
CHANGED
|
@@ -3951,6 +3951,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
|
3951
3951
|
requireAsExpression: parser.requireAsExpression,
|
|
3952
3952
|
requireDynamic: parser.requireDynamic,
|
|
3953
3953
|
requireResolve: parser.requireResolve,
|
|
3954
|
+
commonjs: parser.commonjs,
|
|
3954
3955
|
importDynamic: parser.importDynamic,
|
|
3955
3956
|
commonjsMagicComments: parser.commonjsMagicComments,
|
|
3956
3957
|
inlineConst: parser.inlineConst,
|
|
@@ -7720,7 +7721,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
|
7720
7721
|
module: options?.minimizerOptions?.module
|
|
7721
7722
|
}
|
|
7722
7723
|
};
|
|
7723
|
-
}, "compilation"), WarnCaseSensitiveModulesPlugin = (0, builtin_plugin_base.vt)(binding_.BuiltinPluginName.WarnCaseSensitiveModulesPlugin, ()=>{}, "compilation");
|
|
7724
|
+
}, "compilation"), URLPlugin = (0, builtin_plugin_base.vt)(binding_.BuiltinPluginName.URLPlugin, ()=>{}), WarnCaseSensitiveModulesPlugin = (0, builtin_plugin_base.vt)(binding_.BuiltinPluginName.WarnCaseSensitiveModulesPlugin, ()=>{}, "compilation");
|
|
7724
7725
|
class WebWorkerTemplatePlugin extends builtin_plugin_base.Xj {
|
|
7725
7726
|
name = binding_.BuiltinPluginName.WebWorkerTemplatePlugin;
|
|
7726
7727
|
raw(compiler) {
|
|
@@ -8654,10 +8655,10 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
8654
8655
|
}, applyExperimentsDefaults = (experiments, { development })=>{
|
|
8655
8656
|
defaults_F(experiments, "cache", ()=>development), D(experiments, "futureDefaults", !1), D(experiments, "lazyCompilation", !1), D(experiments, "asyncWebAssembly", experiments.futureDefaults), D(experiments, "css", !!experiments.futureDefaults || void 0), D(experiments, "layers", !1), !1 === experiments.topLevelAwait && console.warn("`experiments.topLevelAwait` config has been deprecated and will be removed in Rspack v2.0. Top-level await will be always enabled. Please remove this option from your Rspack configuration."), D(experiments, "topLevelAwait", !0), D(experiments, "buildHttp", void 0), experiments.buildHttp && "object" == typeof experiments.buildHttp && D(experiments.buildHttp, "upgrade", !1), D(experiments, "incremental", {}), "object" == typeof experiments.incremental && (D(experiments.incremental, "silent", !0), D(experiments.incremental, "make", !0), D(experiments.incremental, "inferAsyncModules", !0), D(experiments.incremental, "providedExports", !0), D(experiments.incremental, "dependenciesDiagnostics", !0), D(experiments.incremental, "sideEffects", !0), D(experiments.incremental, "buildChunkGraph", !1), D(experiments.incremental, "moduleIds", !0), D(experiments.incremental, "chunkIds", !0), D(experiments.incremental, "modulesHashes", !0), D(experiments.incremental, "modulesCodegen", !0), D(experiments.incremental, "modulesRuntimeRequirements", !0), D(experiments.incremental, "chunksRuntimeRequirements", !0), D(experiments.incremental, "chunksHashes", !0), D(experiments.incremental, "chunksRender", !0), D(experiments.incremental, "emitAssets", !0)), D(experiments, "rspackFuture", {}), D(experiments, "parallelCodeSplitting", !1), D(experiments, "parallelLoader", !1), D(experiments, "useInputFileSystem", !1), D(experiments, "inlineConst", !1), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !1);
|
|
8656
8657
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
8657
|
-
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.8-canary-
|
|
8658
|
+
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.8-canary-15732646-20250927173602"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
|
|
8658
8659
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst })=>{
|
|
8659
8660
|
if (assertNotNill(module.parser), assertNotNill(module.generator), defaults_F(module.parser, "asset", ()=>({})), assertNotNill(module.parser.asset), defaults_F(module.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module.parser.asset.dataUrlCondition && D(module.parser.asset.dataUrlCondition, "maxSize", 8096), defaults_F(module.parser, "javascript", ()=>({})), assertNotNill(module.parser.javascript), ((parserOptions, { usedExports, inlineConst })=>{
|
|
8660
|
-
D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "unknownContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
|
|
8661
|
+
D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "unknownContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "commonjs", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
|
|
8661
8662
|
"..."
|
|
8662
8663
|
]), D(parserOptions, "importMeta", !0), D(parserOptions, "inlineConst", usedExports && inlineConst), D(parserOptions, "typeReexportsPresence", "no-tolerant"), D(parserOptions, "jsx", !1);
|
|
8663
8664
|
})(module.parser.javascript, {
|
|
@@ -10298,7 +10299,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
10298
10299
|
});
|
|
10299
10300
|
}
|
|
10300
10301
|
}
|
|
10301
|
-
let CORE_VERSION = "1.5.8-canary-
|
|
10302
|
+
let CORE_VERSION = "1.5.8-canary-15732646-20250927173602", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
|
|
10302
10303
|
|
|
10303
10304
|
Help:
|
|
10304
10305
|
Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
|
|
@@ -11582,7 +11583,7 @@ Help:
|
|
|
11582
11583
|
obj.children = this.stats.map((stat, idx)=>{
|
|
11583
11584
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
11584
11585
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
11585
|
-
}), childOptions.version && (obj.rspackVersion = "1.5.8-canary-
|
|
11586
|
+
}), childOptions.version && (obj.rspackVersion = "1.5.8-canary-15732646-20250927173602", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
|
|
11586
11587
|
let mapError = (j, obj)=>({
|
|
11587
11588
|
...obj,
|
|
11588
11589
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -12478,7 +12479,7 @@ Help:
|
|
|
12478
12479
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
12479
12480
|
},
|
|
12480
12481
|
version: (object)=>{
|
|
12481
|
-
object.version = "5.75.0", object.rspackVersion = "1.5.8-canary-
|
|
12482
|
+
object.version = "5.75.0", object.rspackVersion = "1.5.8-canary-15732646-20250927173602";
|
|
12482
12483
|
},
|
|
12483
12484
|
env: (object, _compilation, _context, { _env })=>{
|
|
12484
12485
|
object.env = _env;
|
|
@@ -13831,7 +13832,7 @@ Help:
|
|
|
13831
13832
|
moduleFilenameTemplate: options.output.devtoolModuleFilenameTemplate,
|
|
13832
13833
|
namespace: options.output.devtoolNamespace
|
|
13833
13834
|
}).apply(compiler);
|
|
13834
|
-
if (new JavascriptModulesPlugin().apply(compiler), new JsonModulesPlugin().apply(compiler), new AssetModulesPlugin().apply(compiler), options.experiments.asyncWebAssembly && new AsyncWebAssemblyModulesPlugin().apply(compiler), options.experiments.css && new CssModulesPlugin().apply(compiler), new lib_EntryOptionPlugin().apply(compiler), assertNotNill(options.context), compiler.hooks.entryOption.call(options.context, options.entry), new RuntimePlugin().apply(compiler), options.experiments.rspackFuture.bundlerInfo && new BundlerInfoRspackPlugin(options.experiments.rspackFuture.bundlerInfo).apply(compiler), new InferAsyncModulesPlugin().apply(compiler), new APIPlugin().apply(compiler), new DataUriPlugin().apply(compiler), new FileUriPlugin().apply(compiler), options.experiments.buildHttp && new HttpUriPlugin(options.experiments.buildHttp).apply(compiler), new EnsureChunkConditionsPlugin().apply(compiler), options.optimization.mergeDuplicateChunks && new MergeDuplicateChunksPlugin().apply(compiler), options.optimization.sideEffects && new SideEffectsFlagPlugin().apply(compiler), options.optimization.providedExports && new FlagDependencyExportsPlugin().apply(compiler), options.optimization.usedExports && new FlagDependencyUsagePlugin("global" === options.optimization.usedExports).apply(compiler), options.optimization.concatenateModules && new ModuleConcatenationPlugin().apply(compiler), options.optimization.mangleExports && new MangleExportsPlugin("size" !== options.optimization.mangleExports).apply(compiler), options.output.enabledLibraryTypes && options.output.enabledLibraryTypes.length > 0) for (let type of options.output.enabledLibraryTypes)new EnableLibraryPlugin(type).apply(compiler);
|
|
13835
|
+
if (new JavascriptModulesPlugin().apply(compiler), new URLPlugin().apply(compiler), new JsonModulesPlugin().apply(compiler), new AssetModulesPlugin().apply(compiler), options.experiments.asyncWebAssembly && new AsyncWebAssemblyModulesPlugin().apply(compiler), options.experiments.css && new CssModulesPlugin().apply(compiler), new lib_EntryOptionPlugin().apply(compiler), assertNotNill(options.context), compiler.hooks.entryOption.call(options.context, options.entry), new RuntimePlugin().apply(compiler), options.experiments.rspackFuture.bundlerInfo && new BundlerInfoRspackPlugin(options.experiments.rspackFuture.bundlerInfo).apply(compiler), new InferAsyncModulesPlugin().apply(compiler), new APIPlugin().apply(compiler), new DataUriPlugin().apply(compiler), new FileUriPlugin().apply(compiler), options.experiments.buildHttp && new HttpUriPlugin(options.experiments.buildHttp).apply(compiler), new EnsureChunkConditionsPlugin().apply(compiler), options.optimization.mergeDuplicateChunks && new MergeDuplicateChunksPlugin().apply(compiler), options.optimization.sideEffects && new SideEffectsFlagPlugin().apply(compiler), options.optimization.providedExports && new FlagDependencyExportsPlugin().apply(compiler), options.optimization.usedExports && new FlagDependencyUsagePlugin("global" === options.optimization.usedExports).apply(compiler), options.optimization.concatenateModules && new ModuleConcatenationPlugin().apply(compiler), options.optimization.mangleExports && new MangleExportsPlugin("size" !== options.optimization.mangleExports).apply(compiler), options.output.enabledLibraryTypes && options.output.enabledLibraryTypes.length > 0) for (let type of options.output.enabledLibraryTypes)new EnableLibraryPlugin(type).apply(compiler);
|
|
13835
13836
|
options.optimization.splitChunks && new SplitChunksPlugin(options.optimization.splitChunks).apply(compiler), options.optimization.removeEmptyChunks && new RemoveEmptyChunksPlugin().apply(compiler), options.optimization.realContentHash && new RealContentHashPlugin().apply(compiler);
|
|
13836
13837
|
let moduleIds = options.optimization.moduleIds;
|
|
13837
13838
|
if (moduleIds) switch(moduleIds){
|
|
@@ -14996,6 +14997,7 @@ Help:
|
|
|
14996
14997
|
"auto"
|
|
14997
14998
|
]), javascriptParserUrl = union([
|
|
14998
14999
|
literal("relative"),
|
|
15000
|
+
literal("new-url-relative"),
|
|
14999
15001
|
schemas_boolean()
|
|
15000
15002
|
]), exprContextCritical = schemas_boolean(), wrappedContextCritical = schemas_boolean(), unknownContextCritical = schemas_boolean(), wrappedContextRegExp = _instanceof(RegExp), exportsPresence = schemas_enum([
|
|
15001
15003
|
"error",
|
|
@@ -15012,7 +15014,12 @@ Help:
|
|
|
15012
15014
|
]).or(literal(!1)), strictExportPresence = schemas_boolean(), worker = schemas_array(schemas_string()).or(schemas_boolean()), overrideStrict = schemas_enum([
|
|
15013
15015
|
"strict",
|
|
15014
15016
|
"non-strict"
|
|
15015
|
-
]), requireAsExpression = schemas_boolean(), requireDynamic = schemas_boolean(), requireResolve = schemas_boolean(),
|
|
15017
|
+
]), requireAsExpression = schemas_boolean(), requireDynamic = schemas_boolean(), requireResolve = schemas_boolean(), commonjsExports = union([
|
|
15018
|
+
schemas_boolean(),
|
|
15019
|
+
literal("skipInEsm")
|
|
15020
|
+
]), commonjs = schemas_boolean().or(strictObject({
|
|
15021
|
+
exports: commonjsExports
|
|
15022
|
+
}).partial()), importDynamic = schemas_boolean(), commonjsMagicComments = schemas_boolean(), inlineConst = schemas_boolean(), typeReexportsPresence = schemas_enum([
|
|
15016
15023
|
"no-tolerant",
|
|
15017
15024
|
"tolerant",
|
|
15018
15025
|
"tolerant-no-check"
|
|
@@ -15037,6 +15044,7 @@ Help:
|
|
|
15037
15044
|
requireAsExpression: requireAsExpression,
|
|
15038
15045
|
requireDynamic: requireDynamic,
|
|
15039
15046
|
requireResolve: requireResolve,
|
|
15047
|
+
commonjs: commonjs,
|
|
15040
15048
|
importDynamic: importDynamic,
|
|
15041
15049
|
inlineConst: inlineConst,
|
|
15042
15050
|
typeReexportsPresence: typeReexportsPresence,
|
|
@@ -15796,7 +15804,7 @@ Help:
|
|
|
15796
15804
|
let _options = JSON.stringify(options || {});
|
|
15797
15805
|
return binding_default().transform(source, _options);
|
|
15798
15806
|
}
|
|
15799
|
-
let exports_rspackVersion = "1.5.8-canary-
|
|
15807
|
+
let exports_rspackVersion = "1.5.8-canary-15732646-20250927173602", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
|
15800
15808
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
15801
15809
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
15802
15810
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
package/dist/schema/config.d.ts
CHANGED
|
@@ -736,7 +736,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
736
736
|
high: "high";
|
|
737
737
|
}>>;
|
|
738
738
|
importMeta: z.ZodOptional<z.ZodBoolean>;
|
|
739
|
-
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
739
|
+
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodLiteral<"new-url-relative">, z.ZodBoolean]>>;
|
|
740
740
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
741
741
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
742
742
|
unknownContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -766,6 +766,9 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
766
766
|
requireAsExpression: z.ZodOptional<z.ZodBoolean>;
|
|
767
767
|
requireDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
768
768
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
769
|
+
commonjs: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
770
|
+
exports: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"skipInEsm">]>>;
|
|
771
|
+
}, z.core.$strict>]>>;
|
|
769
772
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
770
773
|
inlineConst: z.ZodOptional<z.ZodBoolean>;
|
|
771
774
|
typeReexportsPresence: z.ZodOptional<z.ZodEnum<{
|
|
@@ -790,7 +793,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
790
793
|
high: "high";
|
|
791
794
|
}>>;
|
|
792
795
|
importMeta: z.ZodOptional<z.ZodBoolean>;
|
|
793
|
-
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
796
|
+
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodLiteral<"new-url-relative">, z.ZodBoolean]>>;
|
|
794
797
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
795
798
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
796
799
|
unknownContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -820,6 +823,9 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
820
823
|
requireAsExpression: z.ZodOptional<z.ZodBoolean>;
|
|
821
824
|
requireDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
822
825
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
826
|
+
commonjs: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
827
|
+
exports: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"skipInEsm">]>>;
|
|
828
|
+
}, z.core.$strict>]>>;
|
|
823
829
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
824
830
|
inlineConst: z.ZodOptional<z.ZodBoolean>;
|
|
825
831
|
typeReexportsPresence: z.ZodOptional<z.ZodEnum<{
|
|
@@ -844,7 +850,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
844
850
|
high: "high";
|
|
845
851
|
}>>;
|
|
846
852
|
importMeta: z.ZodOptional<z.ZodBoolean>;
|
|
847
|
-
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
853
|
+
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodLiteral<"new-url-relative">, z.ZodBoolean]>>;
|
|
848
854
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
849
855
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
850
856
|
unknownContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -874,6 +880,9 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
874
880
|
requireAsExpression: z.ZodOptional<z.ZodBoolean>;
|
|
875
881
|
requireDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
876
882
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
883
|
+
commonjs: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
884
|
+
exports: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"skipInEsm">]>>;
|
|
885
|
+
}, z.core.$strict>]>>;
|
|
877
886
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
878
887
|
inlineConst: z.ZodOptional<z.ZodBoolean>;
|
|
879
888
|
typeReexportsPresence: z.ZodOptional<z.ZodEnum<{
|
|
@@ -898,7 +907,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
898
907
|
high: "high";
|
|
899
908
|
}>>;
|
|
900
909
|
importMeta: z.ZodOptional<z.ZodBoolean>;
|
|
901
|
-
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodBoolean]>>;
|
|
910
|
+
url: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"relative">, z.ZodLiteral<"new-url-relative">, z.ZodBoolean]>>;
|
|
902
911
|
exprContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
903
912
|
wrappedContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
904
913
|
unknownContextCritical: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -928,6 +937,9 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
|
|
|
928
937
|
requireAsExpression: z.ZodOptional<z.ZodBoolean>;
|
|
929
938
|
requireDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
930
939
|
requireResolve: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
+
commonjs: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
941
|
+
exports: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"skipInEsm">]>>;
|
|
942
|
+
}, z.core.$strict>]>>;
|
|
931
943
|
importDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
932
944
|
inlineConst: z.ZodOptional<z.ZodBoolean>;
|
|
933
945
|
typeReexportsPresence: z.ZodOptional<z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.5.8-canary-
|
|
3
|
+
"version": "1.5.8-canary-15732646-20250927173602",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@module-federation/runtime-tools": "0.18.0",
|
|
62
62
|
"@rspack/lite-tapable": "1.0.1",
|
|
63
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.5.8-canary-
|
|
63
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.5.8-canary-15732646-20250927173602"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@swc/helpers": ">=0.5.1"
|