@rspack-canary/core 1.6.7-canary-357996bd-20251202221720 → 1.6.7-canary-39f82ff6-20251203173928
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.
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { Compiler } from "../Compiler";
|
|
2
2
|
import { type ModuleFederationManifestPluginOptions } from "./ModuleFederationManifestPlugin";
|
|
3
3
|
import type { ModuleFederationPluginV1Options } from "./ModuleFederationPluginV1";
|
|
4
|
-
import { type ModuleFederationRuntimeExperimentsOptions } from "./ModuleFederationRuntimePlugin";
|
|
5
4
|
export interface ModuleFederationPluginOptions extends Omit<ModuleFederationPluginV1Options, "enhanced"> {
|
|
6
5
|
runtimePlugins?: RuntimePlugins;
|
|
7
6
|
implementation?: string;
|
|
8
7
|
shareStrategy?: "version-first" | "loaded-first";
|
|
9
8
|
manifest?: boolean | Omit<ModuleFederationManifestPluginOptions, "remoteAliasMap" | "globalName" | "name" | "exposes" | "shared">;
|
|
10
|
-
experiments?: ModuleFederationRuntimeExperimentsOptions;
|
|
11
9
|
}
|
|
12
10
|
export type RuntimePlugins = string[] | [string, Record<string, unknown>][];
|
|
13
11
|
export declare class ModuleFederationPlugin {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
export interface ModuleFederationRuntimeExperimentsOptions {
|
|
2
|
-
asyncStartup?: boolean;
|
|
3
|
-
}
|
|
4
1
|
export interface ModuleFederationRuntimeOptions {
|
|
5
2
|
entryRuntime?: string;
|
|
6
|
-
experiments?: ModuleFederationRuntimeExperimentsOptions;
|
|
7
3
|
}
|
|
8
4
|
export declare const ModuleFederationRuntimePlugin: {
|
|
9
5
|
new (options?: ModuleFederationRuntimeOptions | undefined): {
|
package/dist/cssExtractHmr.js
CHANGED
|
@@ -115,10 +115,10 @@ function cssReload(moduleId, options) {
|
|
|
115
115
|
}, 50);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
for(var
|
|
118
|
+
for(var __rspack_i in exports.cssReload = __webpack_exports__.cssReload, exports.normalizeUrl = __webpack_exports__.normalizeUrl, __webpack_exports__)-1 === [
|
|
119
119
|
"cssReload",
|
|
120
120
|
"normalizeUrl"
|
|
121
|
-
].indexOf(
|
|
121
|
+
].indexOf(__rspack_i) && (exports[__rspack_i] = __webpack_exports__[__rspack_i]);
|
|
122
122
|
Object.defineProperty(exports, '__esModule', {
|
|
123
123
|
value: !0
|
|
124
124
|
});
|
package/dist/cssExtractLoader.js
CHANGED
|
@@ -145,7 +145,7 @@ const pitch = function(request, _, data) {
|
|
|
145
145
|
}, css_extract_loader = function(content) {
|
|
146
146
|
if (this._compiler?.options?.experiments?.css && this._module && ("css" === this._module.type || "css/auto" === this._module.type || "css/global" === this._module.type || "css/module" === this._module.type)) return content;
|
|
147
147
|
};
|
|
148
|
-
for(var
|
|
148
|
+
for(var __rspack_i in exports.ABSOLUTE_PUBLIC_PATH = __webpack_exports__.ABSOLUTE_PUBLIC_PATH, exports.AUTO_PUBLIC_PATH = __webpack_exports__.AUTO_PUBLIC_PATH, exports.BASE_URI = __webpack_exports__.BASE_URI, exports.MODULE_TYPE = __webpack_exports__.MODULE_TYPE, exports.SINGLE_DOT_PATH_SEGMENT = __webpack_exports__.SINGLE_DOT_PATH_SEGMENT, exports.default = __webpack_exports__.default, exports.hotLoader = __webpack_exports__.hotLoader, exports.pitch = __webpack_exports__.pitch, __webpack_exports__)-1 === [
|
|
149
149
|
"ABSOLUTE_PUBLIC_PATH",
|
|
150
150
|
"AUTO_PUBLIC_PATH",
|
|
151
151
|
"BASE_URI",
|
|
@@ -154,7 +154,7 @@ for(var __webpack_i__ in exports.ABSOLUTE_PUBLIC_PATH = __webpack_exports__.ABSO
|
|
|
154
154
|
"default",
|
|
155
155
|
"hotLoader",
|
|
156
156
|
"pitch"
|
|
157
|
-
].indexOf(
|
|
157
|
+
].indexOf(__rspack_i) && (exports[__rspack_i] = __webpack_exports__[__rspack_i]);
|
|
158
158
|
Object.defineProperty(exports, '__esModule', {
|
|
159
159
|
value: !0
|
|
160
160
|
});
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
"../../node_modules/.pnpm/enhanced-resolve@5.18.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js"
|
|
3
|
+
"../../node_modules/.pnpm/enhanced-resolve@5.18.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module1, __unused_webpack_exports, __webpack_require__) {
|
|
4
4
|
let { nextTick } = __webpack_require__("process"), dirname = (path)=>{
|
|
5
5
|
let idx = path.length - 1;
|
|
6
6
|
for(; idx >= 0;){
|
|
@@ -205,43 +205,43 @@ var __webpack_modules__ = {
|
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
},
|
|
208
|
-
"browserslist-load-config"
|
|
208
|
+
"browserslist-load-config" (module1) {
|
|
209
209
|
module1.exports = require("../compiled/browserslist-load-config/index.js");
|
|
210
210
|
},
|
|
211
|
-
watchpack
|
|
211
|
+
watchpack (module1) {
|
|
212
212
|
module1.exports = require("../compiled/watchpack/index.js");
|
|
213
213
|
},
|
|
214
|
-
"webpack-sources"
|
|
214
|
+
"webpack-sources" (module1) {
|
|
215
215
|
module1.exports = require("../compiled/webpack-sources/index.js");
|
|
216
216
|
},
|
|
217
|
-
"./moduleFederationDefaultRuntime.js"
|
|
217
|
+
"./moduleFederationDefaultRuntime.js" (module1) {
|
|
218
218
|
module1.exports = require("./moduleFederationDefaultRuntime.js");
|
|
219
219
|
},
|
|
220
|
-
"@rspack/binding"
|
|
220
|
+
"@rspack/binding" (module1) {
|
|
221
221
|
module1.exports = require(process.env.RSPACK_BINDING ? process.env.RSPACK_BINDING : "@rspack/binding");
|
|
222
222
|
},
|
|
223
|
-
"node:crypto"
|
|
223
|
+
"node:crypto" (module1) {
|
|
224
224
|
module1.exports = require("node:crypto");
|
|
225
225
|
},
|
|
226
|
-
"node:http"
|
|
226
|
+
"node:http" (module1) {
|
|
227
227
|
module1.exports = require("node:http");
|
|
228
228
|
},
|
|
229
|
-
"node:https"
|
|
229
|
+
"node:https" (module1) {
|
|
230
230
|
module1.exports = require("node:https");
|
|
231
231
|
},
|
|
232
|
-
"node:os"
|
|
232
|
+
"node:os" (module1) {
|
|
233
233
|
module1.exports = require("node:os");
|
|
234
234
|
},
|
|
235
|
-
"node:url"
|
|
235
|
+
"node:url" (module1) {
|
|
236
236
|
module1.exports = require("node:url");
|
|
237
237
|
},
|
|
238
|
-
"node:vm"
|
|
238
|
+
"node:vm" (module1) {
|
|
239
239
|
module1.exports = require("node:vm");
|
|
240
240
|
},
|
|
241
|
-
"node:zlib"
|
|
241
|
+
"node:zlib" (module1) {
|
|
242
242
|
module1.exports = require("node:zlib");
|
|
243
243
|
},
|
|
244
|
-
process
|
|
244
|
+
process (module1) {
|
|
245
245
|
module1.exports = require("process");
|
|
246
246
|
}
|
|
247
247
|
}, __webpack_module_cache__ = {};
|
|
@@ -271,7 +271,7 @@ __webpack_require__.n = (module1)=>{
|
|
|
271
271
|
});
|
|
272
272
|
};
|
|
273
273
|
var __webpack_exports__ = {};
|
|
274
|
-
for(var
|
|
274
|
+
for(var __rspack_i in (()=>{
|
|
275
275
|
let createMd4, createXxhash64, service_pool, loadLoader_url;
|
|
276
276
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
|
277
277
|
EntryPlugin: ()=>EntryPlugin,
|
|
@@ -5785,7 +5785,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
5785
5785
|
}, applyExperimentsDefaults = (experiments, { development })=>{
|
|
5786
5786
|
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, "topLevelAwait", !0), D(experiments, "deferImport", !1), 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", !0);
|
|
5787
5787
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
5788
|
-
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.7-canary-
|
|
5788
|
+
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.7-canary-39f82ff6-20251203173928"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
|
|
5789
5789
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst, deferImport })=>{
|
|
5790
5790
|
if (assertNotNill(module1.parser), assertNotNill(module1.generator), cache ? D(module1, "unsafeCache", /[\\/]node_modules[\\/]/) : D(module1, "unsafeCache", !1), F(module1.parser, "asset", ()=>({})), assertNotNill(module1.parser.asset), F(module1.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module1.parser.asset.dataUrlCondition && D(module1.parser.asset.dataUrlCondition, "maxSize", 8096), F(module1.parser, "javascript", ()=>({})), assertNotNill(module1.parser.javascript), ((parserOptions, { usedExports, inlineConst, deferImport })=>{
|
|
5791
5791
|
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", [
|
|
@@ -7438,7 +7438,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
7438
7438
|
});
|
|
7439
7439
|
}
|
|
7440
7440
|
}
|
|
7441
|
-
let CORE_VERSION = "1.6.7-canary-
|
|
7441
|
+
let CORE_VERSION = "1.6.7-canary-39f82ff6-20251203173928", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
|
|
7442
7442
|
|
|
7443
7443
|
Help:
|
|
7444
7444
|
Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
|
|
@@ -8739,7 +8739,7 @@ Help:
|
|
|
8739
8739
|
obj.children = this.stats.map((stat, idx)=>{
|
|
8740
8740
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
8741
8741
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
8742
|
-
}), childOptions.version && (obj.rspackVersion = "1.6.7-canary-
|
|
8742
|
+
}), childOptions.version && (obj.rspackVersion = "1.6.7-canary-39f82ff6-20251203173928", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
|
|
8743
8743
|
let mapError = (j, obj)=>({
|
|
8744
8744
|
...obj,
|
|
8745
8745
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -9638,7 +9638,7 @@ Help:
|
|
|
9638
9638
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
9639
9639
|
},
|
|
9640
9640
|
version: (object)=>{
|
|
9641
|
-
object.version = "5.75.0", object.rspackVersion = "1.6.7-canary-
|
|
9641
|
+
object.version = "5.75.0", object.rspackVersion = "1.6.7-canary-39f82ff6-20251203173928";
|
|
9642
9642
|
},
|
|
9643
9643
|
env: (object, _compilation, _context, { _env })=>{
|
|
9644
9644
|
object.env = _env;
|
|
@@ -11857,7 +11857,7 @@ Help:
|
|
|
11857
11857
|
let _options = JSON.stringify(options || {});
|
|
11858
11858
|
return binding_default().transform(source, _options);
|
|
11859
11859
|
}
|
|
11860
|
-
let exports_rspackVersion = "1.6.7-canary-
|
|
11860
|
+
let exports_rspackVersion = "1.6.7-canary-39f82ff6-20251203173928", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
|
11861
11861
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
11862
11862
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
11863
11863
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
|
@@ -11918,35 +11918,30 @@ Help:
|
|
|
11918
11918
|
bundlerRuntime: bundlerRuntimePath,
|
|
11919
11919
|
runtime: runtimePath
|
|
11920
11920
|
});
|
|
11921
|
-
compiler.options.resolve.alias = {
|
|
11921
|
+
if (compiler.options.resolve.alias = {
|
|
11922
11922
|
"@module-federation/runtime-tools": paths.runtimeTools,
|
|
11923
11923
|
"@module-federation/runtime": paths.runtime,
|
|
11924
11924
|
...compiler.options.resolve.alias
|
|
11925
|
-
}
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
if (new ModuleFederationRuntimePlugin({
|
|
11946
|
-
entryRuntime,
|
|
11947
|
-
experiments: {
|
|
11948
|
-
asyncStartup: this._options.experiments?.asyncStartup ?? !1
|
|
11949
|
-
}
|
|
11925
|
+
}, new ModuleFederationRuntimePlugin({
|
|
11926
|
+
entryRuntime: function(paths, options, compiler) {
|
|
11927
|
+
let runtimePlugins = options.runtimePlugins ?? [], remoteInfos = getRemoteInfos(options), runtimePluginImports = [], runtimePluginVars = [];
|
|
11928
|
+
for(let i = 0; i < runtimePlugins.length; i++){
|
|
11929
|
+
let runtimePluginVar = `__module_federation_runtime_plugin_${i}__`, pluginSpec = runtimePlugins[i], pluginPath = Array.isArray(pluginSpec) ? pluginSpec[0] : pluginSpec, pluginParams = Array.isArray(pluginSpec) ? pluginSpec[1] : void 0;
|
|
11930
|
+
runtimePluginImports.push(`import ${runtimePluginVar} from ${JSON.stringify(pluginPath)}`);
|
|
11931
|
+
let paramsCode = void 0 === pluginParams ? "undefined" : JSON.stringify(pluginParams);
|
|
11932
|
+
runtimePluginVars.push(`${runtimePluginVar}(${paramsCode})`);
|
|
11933
|
+
}
|
|
11934
|
+
let content = [
|
|
11935
|
+
`import __module_federation_bundler_runtime__ from ${JSON.stringify(paths.bundlerRuntime)}`,
|
|
11936
|
+
...runtimePluginImports,
|
|
11937
|
+
`const __module_federation_runtime_plugins__ = [${runtimePluginVars.join(", ")}]`,
|
|
11938
|
+
`const __module_federation_remote_infos__ = ${JSON.stringify(remoteInfos)}`,
|
|
11939
|
+
`const __module_federation_container_name__ = ${JSON.stringify(options.name ?? compiler.options.output.uniqueName)}`,
|
|
11940
|
+
`const __module_federation_share_strategy__ = ${JSON.stringify(options.shareStrategy ?? "version-first")}`,
|
|
11941
|
+
compiler.webpack.Template.getFunctionContent(__webpack_require__("./moduleFederationDefaultRuntime.js"))
|
|
11942
|
+
].join(";");
|
|
11943
|
+
return `@module-federation/runtime/rspack.js!=!data:text/javascript,${content}`;
|
|
11944
|
+
}(paths, this._options, compiler)
|
|
11950
11945
|
}).apply(compiler), new webpack.container.ModuleFederationPluginV1({
|
|
11951
11946
|
...this._options,
|
|
11952
11947
|
enhanced: !0
|
|
@@ -12031,7 +12026,7 @@ Help:
|
|
|
12031
12026
|
name: options.name
|
|
12032
12027
|
}, remoteType = options.remoteType || (options.library ? options.library.type : "script");
|
|
12033
12028
|
library && !compiler.options.output.enabledLibraryTypes.includes(library.type) && compiler.options.output.enabledLibraryTypes.push(library.type), compiler.hooks.afterPlugins.tap("ModuleFederationPlugin", ()=>{
|
|
12034
|
-
new ShareRuntimePlugin(enhanced).apply(compiler), options.exposes && (Array.isArray(options.exposes) ? options.exposes.length > 0 : Object.keys(options.exposes).length > 0) && new ContainerPlugin({
|
|
12029
|
+
new ShareRuntimePlugin(this._options.enhanced).apply(compiler), options.exposes && (Array.isArray(options.exposes) ? options.exposes.length > 0 : Object.keys(options.exposes).length > 0) && new ContainerPlugin({
|
|
12035
12030
|
name: options.name,
|
|
12036
12031
|
library,
|
|
12037
12032
|
filename: options.filename,
|
|
@@ -12280,7 +12275,7 @@ Help:
|
|
|
12280
12275
|
"wasm",
|
|
12281
12276
|
"web",
|
|
12282
12277
|
"webworker"
|
|
12283
|
-
].indexOf(
|
|
12278
|
+
].indexOf(__rspack_i) && (exports[__rspack_i] = __webpack_exports__[__rspack_i]);
|
|
12284
12279
|
Object.defineProperty(exports, '__esModule', {
|
|
12285
12280
|
value: !0
|
|
12286
12281
|
});
|
package/dist/worker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
"./src/swc.ts"
|
|
3
|
+
"./src/swc.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4
4
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
|
5
5
|
minify: ()=>minify,
|
|
6
6
|
minifySync: ()=>minifySync,
|
|
@@ -25,7 +25,7 @@ var __webpack_modules__ = {
|
|
|
25
25
|
return _rspack_binding__rspack_import_0_default().transformSync(source, _options);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"./src/util/cleverMerge.ts"
|
|
28
|
+
"./src/util/cleverMerge.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
29
29
|
__webpack_require__.d(__webpack_exports__, {
|
|
30
30
|
ks: ()=>cleverMerge
|
|
31
31
|
});
|
|
@@ -203,7 +203,7 @@ var __webpack_modules__ = {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
},
|
|
206
|
-
"./src/util/createHash.ts"
|
|
206
|
+
"./src/util/createHash.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
207
207
|
let createMd4, createXxhash64;
|
|
208
208
|
__webpack_require__.d(__webpack_exports__, {
|
|
209
209
|
n: ()=>createHash_createHash
|
|
@@ -416,22 +416,22 @@ var __webpack_modules__ = {
|
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
},
|
|
419
|
-
"@rspack/binding"
|
|
419
|
+
"@rspack/binding" (module) {
|
|
420
420
|
module.exports = require("@rspack/binding");
|
|
421
421
|
},
|
|
422
|
-
"node:crypto"
|
|
422
|
+
"node:crypto" (module) {
|
|
423
423
|
module.exports = require("node:crypto");
|
|
424
424
|
},
|
|
425
|
-
"node:fs"
|
|
425
|
+
"node:fs" (module) {
|
|
426
426
|
module.exports = require("node:fs");
|
|
427
427
|
},
|
|
428
|
-
"node:os"
|
|
428
|
+
"node:os" (module) {
|
|
429
429
|
module.exports = require("node:os");
|
|
430
430
|
},
|
|
431
|
-
"node:url"
|
|
431
|
+
"node:url" (module) {
|
|
432
432
|
module.exports = require("node:url");
|
|
433
433
|
},
|
|
434
|
-
"node:util"
|
|
434
|
+
"node:util" (module) {
|
|
435
435
|
module.exports = require("node:util");
|
|
436
436
|
}
|
|
437
437
|
}, __webpack_module_cache__ = {};
|
|
@@ -461,7 +461,7 @@ __webpack_require__.n = (module)=>{
|
|
|
461
461
|
});
|
|
462
462
|
};
|
|
463
463
|
var __webpack_exports__ = {};
|
|
464
|
-
for(var
|
|
464
|
+
for(var __rspack_i in (()=>{
|
|
465
465
|
let url;
|
|
466
466
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
|
467
467
|
default: ()=>loader_runner_worker
|
|
@@ -970,7 +970,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
970
970
|
};
|
|
971
971
|
})(), exports.default = __webpack_exports__.default, __webpack_exports__)-1 === [
|
|
972
972
|
"default"
|
|
973
|
-
].indexOf(
|
|
973
|
+
].indexOf(__rspack_i) && (exports[__rspack_i] = __webpack_exports__[__rspack_i]);
|
|
974
974
|
Object.defineProperty(exports, '__esModule', {
|
|
975
975
|
value: !0
|
|
976
976
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.6.7-canary-
|
|
3
|
+
"version": "1.6.7-canary-39f82ff6-20251203173928",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@ast-grep/napi": "^0.40.0",
|
|
41
41
|
"@napi-rs/wasm-runtime": "1.0.7",
|
|
42
42
|
"@rsbuild/plugin-node-polyfill": "^1.4.2",
|
|
43
|
-
"@rslib/core": "0.18.
|
|
43
|
+
"@rslib/core": "0.18.3",
|
|
44
44
|
"@swc/types": "0.1.25",
|
|
45
45
|
"@types/node": "^20.19.25",
|
|
46
46
|
"@types/watchpack": "^2.4.5",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@module-federation/runtime-tools": "0.21.6",
|
|
60
60
|
"@rspack/lite-tapable": "1.1.0",
|
|
61
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.6.7-canary-
|
|
61
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.6.7-canary-39f82ff6-20251203173928"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@swc/helpers": ">=0.5.1"
|