@rspack-canary/browser 1.7.0-canary-3e8ba27b-20251227173645 → 1.7.0-canary-82686ee2-20251229225853

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/index.mjs CHANGED
@@ -1,7 +1,8 @@
1
1
  /*! For license information please see index.mjs.LICENSE.txt */
2
2
  import * as __rspack_external__rspack_wasi_browser_js_bd433424 from "./rspack.wasi-browser.js";
3
+ import { __webpack_require__ } from "./rslib-runtime.mjs";
3
4
  import { AsyncParallelHook, AsyncSeriesBailHook, AsyncSeriesHook, AsyncSeriesWaterfallHook, HookMap, MultiHook, SyncBailHook, SyncHook, SyncWaterfallHook, maxStage, minStage, safeStage } from "@rspack/lite-tapable";
4
- var __webpack_modules__ = {
5
+ __webpack_require__.add({
5
6
  "../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1.js" (__unused_rspack_module, exports, __webpack_require__) {
6
7
  var asn1 = exports;
7
8
  asn1.bignum = __webpack_require__("../../node_modules/.pnpm/bn.js@4.12.2/node_modules/bn.js/lib/bn.js");
@@ -50484,79 +50485,12 @@ var __webpack_modules__ = {
50484
50485
  "../../node_modules/.pnpm/parse-asn1@5.1.9/node_modules/parse-asn1/aesid.json" (module1) {
50485
50486
  module1.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}');
50486
50487
  }
50487
- };
50488
- var __webpack_module_cache__ = {};
50489
- function __webpack_require__(moduleId) {
50490
- var cachedModule = __webpack_module_cache__[moduleId];
50491
- if (void 0 !== cachedModule) return cachedModule.exports;
50492
- var module1 = __webpack_module_cache__[moduleId] = {
50493
- id: moduleId,
50494
- loaded: false,
50495
- exports: {}
50496
- };
50497
- __webpack_modules__[moduleId].call(module1.exports, module1, module1.exports, __webpack_require__);
50498
- module1.loaded = true;
50499
- return module1.exports;
50500
- }
50501
- (()=>{
50502
- __webpack_require__.n = (module1)=>{
50503
- var getter = module1 && module1.__esModule ? ()=>module1['default'] : ()=>module1;
50504
- __webpack_require__.d(getter, {
50505
- a: getter
50506
- });
50507
- return getter;
50508
- };
50509
- })();
50510
- (()=>{
50511
- __webpack_require__.d = (exports, definition)=>{
50512
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
50513
- enumerable: true,
50514
- get: definition[key]
50515
- });
50516
- };
50517
- })();
50518
- (()=>{
50519
- __webpack_require__.g = (()=>{
50520
- if ('object' == typeof globalThis) return globalThis;
50521
- try {
50522
- return this || new Function('return this')();
50523
- } catch (e) {
50524
- if ('object' == typeof window) return window;
50525
- }
50526
- })();
50527
- })();
50528
- (()=>{
50529
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
50530
- })();
50531
- (()=>{
50532
- __webpack_require__.r = (exports)=>{
50533
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports, Symbol.toStringTag, {
50534
- value: 'Module'
50535
- });
50536
- Object.defineProperty(exports, '__esModule', {
50537
- value: true
50538
- });
50539
- };
50540
- })();
50541
- (()=>{
50542
- __webpack_require__.nmd = (module1)=>{
50543
- module1.paths = [];
50544
- if (!module1.children) module1.children = [];
50545
- return module1;
50546
- };
50547
- })();
50488
+ });
50548
50489
  var browserslistTargetHandler_namespaceObject = {};
50549
50490
  __webpack_require__.r(browserslistTargetHandler_namespaceObject);
50550
50491
  __webpack_require__.d(browserslistTargetHandler_namespaceObject, {
50551
50492
  resolve: ()=>browserslistTargetHandler_resolve
50552
50493
  });
50553
- var ModuleFilenameHelpers_namespaceObject = {};
50554
- __webpack_require__.r(ModuleFilenameHelpers_namespaceObject);
50555
- __webpack_require__.d(ModuleFilenameHelpers_namespaceObject, {
50556
- asRegExp: ()=>asRegExp,
50557
- matchObject: ()=>matchObject,
50558
- matchPart: ()=>matchPart
50559
- });
50560
50494
  var exports_namespaceObject = {};
50561
50495
  __webpack_require__.r(exports_namespaceObject);
50562
50496
  __webpack_require__.d(exports_namespaceObject, {
@@ -50625,13 +50559,19 @@ __webpack_require__.d(exports_namespaceObject, {
50625
50559
  rspackVersion: ()=>exports_rspackVersion,
50626
50560
  sharing: ()=>sharing,
50627
50561
  sources: ()=>sources,
50628
- util: ()=>exports_util,
50562
+ util: ()=>util,
50629
50563
  version: ()=>exports_version,
50630
50564
  wasm: ()=>exports_wasm,
50631
50565
  web: ()=>web,
50632
50566
  webworker: ()=>webworker
50633
50567
  });
50634
- var external_rspack_wasi_browser_js_ = __webpack_require__("@rspack/binding");
50568
+ var ModuleFilenameHelpers_namespaceObject = {};
50569
+ __webpack_require__.r(ModuleFilenameHelpers_namespaceObject);
50570
+ __webpack_require__.d(ModuleFilenameHelpers_namespaceObject, {
50571
+ asRegExp: ()=>asRegExp,
50572
+ matchObject: ()=>matchObject,
50573
+ matchPart: ()=>matchPart
50574
+ });
50635
50575
  const loaderFlag = 'LOADER_EXECUTION';
50636
50576
  const cutOffByFlag = (stack, flag)=>{
50637
50577
  const stacks = stack.split('\n');
@@ -50650,8 +50590,8 @@ const cutOffMessage = (stack, name, message)=>{
50650
50590
  const firstLine = stack.slice(0, nextLine);
50651
50591
  return firstLine === `${name}: ${message}` ? stack.slice(nextLine + 1) : stack;
50652
50592
  };
50653
- var util = __webpack_require__("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js");
50654
- var util_default = /*#__PURE__*/ __webpack_require__.n(util);
50593
+ const util_0 = __webpack_require__("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js");
50594
+ var util_0_default = /*#__PURE__*/ __webpack_require__.n(util_0);
50655
50595
  function _define_property(obj, key, value) {
50656
50596
  if (key in obj) Object.defineProperty(obj, key, {
50657
50597
  value: value,
@@ -50667,7 +50607,7 @@ class WebpackError extends Error {
50667
50607
  super(...args), _define_property(this, "loc", void 0), _define_property(this, "file", void 0), _define_property(this, "chunk", void 0), _define_property(this, "module", void 0), _define_property(this, "details", void 0), _define_property(this, "hideStack", void 0);
50668
50608
  }
50669
50609
  }
50670
- Object.defineProperty(WebpackError.prototype, util.inspect.custom, {
50610
+ Object.defineProperty(WebpackError.prototype, util_0.inspect.custom, {
50671
50611
  value: function() {
50672
50612
  return this.stack + (this.details ? `\n${this.details}` : '');
50673
50613
  },
@@ -51854,7 +51794,7 @@ function createFakeCompilationDependencies(getDeps, addDeps) {
51854
51794
  }
51855
51795
  };
51856
51796
  }
51857
- var lib = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
51797
+ const lib = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
51858
51798
  var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
51859
51799
  class SourceAdapter {
51860
51800
  static fromBinding(source) {
@@ -51877,6 +51817,15 @@ class SourceAdapter {
51877
51817
  };
51878
51818
  }
51879
51819
  }
51820
+ const external_rspack_wasi_browser_js_ = __webpack_require__("@rspack/binding");
51821
+ var AsyncDependenciesBlock = external_rspack_wasi_browser_js_.AsyncDependenciesBlock;
51822
+ var ConcatenatedModule = external_rspack_wasi_browser_js_.ConcatenatedModule;
51823
+ var ContextModule = external_rspack_wasi_browser_js_.ContextModule;
51824
+ var Dependency = external_rspack_wasi_browser_js_.Dependency;
51825
+ var EntryDependency = external_rspack_wasi_browser_js_.EntryDependency;
51826
+ var ExternalModule = external_rspack_wasi_browser_js_.ExternalModule;
51827
+ var Module = external_rspack_wasi_browser_js_.Module;
51828
+ var NormalModule = external_rspack_wasi_browser_js_.NormalModule;
51880
51829
  Object.defineProperty(external_rspack_wasi_browser_js_.Chunk.prototype, 'files', {
51881
51830
  enumerable: true,
51882
51831
  configurable: true,
@@ -51930,7 +51879,7 @@ Object.defineProperty(external_rspack_wasi_browser_js_.Chunk.prototype, 'getChun
51930
51879
  };
51931
51880
  }
51932
51881
  });
51933
- Object.defineProperty(external_rspack_wasi_browser_js_.Chunk.prototype, util_default().inspect.custom, {
51882
+ Object.defineProperty(external_rspack_wasi_browser_js_.Chunk.prototype, util_0_default().inspect.custom, {
51934
51883
  enumerable: true,
51935
51884
  configurable: true,
51936
51885
  value () {
@@ -52048,7 +51997,7 @@ const $proxy = Symbol.for('proxy');
52048
51997
  function createDiagnosticArray(adm) {
52049
51998
  if ($proxy in adm) return adm[$proxy];
52050
51999
  const array = [];
52051
- array[util_default().inspect.custom] = ()=>adm.values();
52000
+ array[util_0_default().inspect.custom] = ()=>adm.values();
52052
52001
  const splice = function(index, deleteCount, ...newItems) {
52053
52002
  switch(arguments.length){
52054
52003
  case 0:
@@ -53097,7 +53046,7 @@ const CssChunkingPlugin = base_create(external_rspack_wasi_browser_js_["default"
53097
53046
  return options;
53098
53047
  });
53099
53048
  const CssModulesPlugin = base_create(external_rspack_wasi_browser_js_.BuiltinPluginName.CssModulesPlugin, ()=>{}, 'compilation');
53100
- var path_browserify = __webpack_require__("../../node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js");
53049
+ const path_browserify = __webpack_require__("../../node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js");
53101
53050
  var path_browserify_default = /*#__PURE__*/ __webpack_require__.n(path_browserify);
53102
53051
  const utils_PLUGIN_NAME = 'css-extract-rspack-plugin';
53103
53052
  const MODULE_TYPE = 'css/mini-extract';
@@ -53761,9 +53710,8 @@ function toFeatures(featureOptions) {
53761
53710
  }
53762
53711
  return feature;
53763
53712
  }
53764
- var querystring_es3 = __webpack_require__("../../node_modules/.pnpm/querystring-es3@0.2.1/node_modules/querystring-es3/index.js");
53765
53713
  const $assets = Symbol('assets');
53766
- Object.defineProperty(external_rspack_wasi_browser_js_["default"].KnownBuildInfo.prototype, util_default().inspect.custom, {
53714
+ Object.defineProperty(external_rspack_wasi_browser_js_["default"].KnownBuildInfo.prototype, util_0_default().inspect.custom, {
53767
53715
  enumerable: true,
53768
53716
  configurable: true,
53769
53717
  value () {
@@ -53870,20 +53818,20 @@ const deprecateAllProperties = (obj, message, code)=>{
53870
53818
  const descriptor = descriptors[name];
53871
53819
  if ('function' == typeof descriptor.value) Object.defineProperty(newObj, name, {
53872
53820
  ...descriptor,
53873
- value: util_default().deprecate(descriptor.value, message, code)
53821
+ value: util_0_default().deprecate(descriptor.value, message, code)
53874
53822
  });
53875
53823
  else if (descriptor.get || descriptor.set) Object.defineProperty(newObj, name, {
53876
53824
  ...descriptor,
53877
- get: descriptor.get && util_default().deprecate(descriptor.get, message, code),
53878
- set: descriptor.set && util_default().deprecate(descriptor.set, message, code)
53825
+ get: descriptor.get && util_0_default().deprecate(descriptor.get, message, code),
53826
+ set: descriptor.set && util_0_default().deprecate(descriptor.set, message, code)
53879
53827
  });
53880
53828
  else {
53881
53829
  let value = descriptor.value;
53882
53830
  Object.defineProperty(newObj, name, {
53883
53831
  configurable: descriptor.configurable,
53884
53832
  enumerable: descriptor.enumerable,
53885
- get: util_default().deprecate(()=>value, message, code),
53886
- set: descriptor.writable ? util_default().deprecate((v)=>value = v, message, code) : void 0
53833
+ get: util_0_default().deprecate(()=>value, message, code),
53834
+ set: descriptor.writable ? util_0_default().deprecate((v)=>value = v, message, code) : void 0
53887
53835
  });
53888
53836
  }
53889
53837
  }
@@ -54466,8 +54414,8 @@ function convertArgs(args, raw) {
54466
54414
  else if (raw && 'string' == typeof args[0]) args[0] = utils_Buffer.from(args[0], 'utf-8');
54467
54415
  if (raw && args[0] instanceof Uint8Array && !utils_Buffer.isBuffer(args[0])) args[0] = utils_Buffer.from(args[0].buffer);
54468
54416
  }
54469
- const utils_loadLoader = (0, util.promisify)(loadLoader);
54470
- const utils_runSyncOrAsync = (0, util.promisify)(function(fn, context, args, callback) {
54417
+ const utils_loadLoader = (0, util_0.promisify)(loadLoader);
54418
+ const utils_runSyncOrAsync = (0, util_0.promisify)(function(fn, context, args, callback) {
54471
54419
  let isSync = true;
54472
54420
  let isDone = false;
54473
54421
  let isError = false;
@@ -54539,6 +54487,7 @@ function extractLoaderName(loaderPath, cwd = '') {
54539
54487
  }
54540
54488
  return res;
54541
54489
  }
54490
+ const querystring_es3 = __webpack_require__("../../node_modules/.pnpm/querystring-es3@0.2.1/node_modules/querystring-es3/index.js");
54542
54491
  function loader_runner_define_property(obj, key, value) {
54543
54492
  if (key in obj) Object.defineProperty(obj, key, {
54544
54493
  value: value,
@@ -56071,7 +56020,6 @@ const cleanPluginOptions = (compilation, uid)=>{
56071
56020
  if (0 === Object.keys(optionsMap).length) compilationOptionsMap.delete(compilation);
56072
56021
  else compilationOptionsMap.set(compilation, optionsMap);
56073
56022
  };
56074
- var browser_fs = __webpack_require__("./src/browser/fs.ts");
56075
56023
  const hooks_compilationHooksMap = new WeakMap();
56076
56024
  const getPluginHooks = (compilation)=>{
56077
56025
  checkCompilation(compilation);
@@ -56104,6 +56052,7 @@ const getPluginHooks = (compilation)=>{
56104
56052
  const cleanPluginHooks = (compilation)=>{
56105
56053
  hooks_compilationHooksMap.delete(compilation);
56106
56054
  };
56055
+ const fs_0 = __webpack_require__("./src/browser/fs.ts");
56107
56056
  var plugin_process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
56108
56057
  let HTML_PLUGIN_UID = 0;
56109
56058
  const HtmlRspackPluginImpl = base_create(external_rspack_wasi_browser_js_.BuiltinPluginName.HtmlRspackPlugin, function(c = {}) {
@@ -56178,7 +56127,7 @@ const HtmlRspackPluginImpl = base_create(external_rspack_wasi_browser_js_.Builti
56178
56127
  ].includes(path_browserify_default().extname(filename))) templateFn = async (data)=>{
56179
56128
  const context = this.options.context || plugin_process.cwd();
56180
56129
  const templateFilePath = path_browserify_default().resolve(context, filename);
56181
- if (!browser_fs["default"].existsSync(templateFilePath)) throw new Error(`HtmlRspackPlugin: could not load file \`${filename}\` from \`${context}\``);
56130
+ if (!fs_0["default"].existsSync(templateFilePath)) throw new Error(`HtmlRspackPlugin: could not load file \`${filename}\` from \`${context}\``);
56182
56131
  try {
56183
56132
  const renderer = this.__internal_browser_require(templateFilePath);
56184
56133
  if (false === c.templateParameters) return await renderer({});
@@ -56852,7 +56801,7 @@ class SubresourceIntegrityPlugin extends NativeSubresourceIntegrityPlugin {
56852
56801
  src = (0, path_browserify.relative)(publicPathWithScheme, decodeURIComponent(tagSrcWithScheme));
56853
56802
  }
56854
56803
  } else src = (0, path_browserify.relative)(publicPath, decodeURIComponent(tagSrc));
56855
- tag.attributes.integrity = this.getIntegrityChecksumForAsset(src) || computeIntegrity(this.options.hashFuncNames, (0, browser_fs.readFileSync)((0, path_browserify.join)(outputPath, src)));
56804
+ tag.attributes.integrity = this.getIntegrityChecksumForAsset(src) || computeIntegrity(this.options.hashFuncNames, (0, fs_0.readFileSync)((0, path_browserify.join)(outputPath, src)));
56856
56805
  tag.attributes.crossorigin = crossOriginLoading || 'anonymous';
56857
56806
  }
56858
56807
  apply(compiler) {
@@ -58229,7 +58178,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
58229
58178
  if ('object' == typeof rspackFuture) {
58230
58179
  D(rspackFuture, 'bundlerInfo', {});
58231
58180
  if ('object' == typeof rspackFuture.bundlerInfo) {
58232
- D(rspackFuture.bundlerInfo, 'version', "1.7.0-canary-3e8ba27b-20251227173645");
58181
+ D(rspackFuture.bundlerInfo, 'version', "1.7.0-canary-82686ee2-20251229225853");
58233
58182
  D(rspackFuture.bundlerInfo, 'bundler', 'rspack');
58234
58183
  D(rspackFuture.bundlerInfo, 'force', !library);
58235
58184
  }
@@ -58259,6 +58208,10 @@ const applyJavascriptParserOptionsDefaults = (parserOptions, { deferImport })=>{
58259
58208
  D(parserOptions, 'jsx', false);
58260
58209
  D(parserOptions, 'deferImport', deferImport);
58261
58210
  };
58211
+ const applyCssGeneratorOptionsDefaults = (generatorOptions, { targetProperties })=>{
58212
+ D(generatorOptions, 'exportsOnly', !targetProperties || false === targetProperties.document);
58213
+ D(generatorOptions, 'esModule', true);
58214
+ };
58262
58215
  const applyJsonGeneratorOptionsDefaults = (generatorOptions)=>{
58263
58216
  D(generatorOptions, 'JSONParse', true);
58264
58217
  };
@@ -58296,21 +58249,24 @@ const applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProp
58296
58249
  D(module1.parser['css/module'], 'url', true);
58297
58250
  F(module1.generator, 'css', ()=>({}));
58298
58251
  assertNotNill(module1.generator.css);
58299
- D(module1.generator.css, 'exportsOnly', !targetProperties || !targetProperties.document);
58300
- D(module1.generator.css, 'esModule', true);
58252
+ applyCssGeneratorOptionsDefaults(module1.generator.css, {
58253
+ targetProperties
58254
+ });
58301
58255
  F(module1.generator, 'css/auto', ()=>({}));
58302
58256
  assertNotNill(module1.generator['css/auto']);
58303
- D(module1.generator['css/auto'], 'exportsOnly', !targetProperties || !targetProperties.document);
58257
+ applyCssGeneratorOptionsDefaults(module1.generator['css/auto'], {
58258
+ targetProperties
58259
+ });
58304
58260
  D(module1.generator['css/auto'], 'exportsConvention', 'as-is');
58305
58261
  const localIdentName = 'development' === mode ? uniqueName && uniqueName.length > 0 ? '[uniqueName]-[id]-[local]' : '[id]-[local]' : '[fullhash]';
58306
58262
  D(module1.generator['css/auto'], 'localIdentName', localIdentName);
58307
- D(module1.generator['css/auto'], 'esModule', true);
58308
58263
  F(module1.generator, 'css/module', ()=>({}));
58309
58264
  assertNotNill(module1.generator['css/module']);
58310
- D(module1.generator['css/module'], 'exportsOnly', !targetProperties || !targetProperties.document);
58265
+ applyCssGeneratorOptionsDefaults(module1.generator['css/module'], {
58266
+ targetProperties
58267
+ });
58311
58268
  D(module1.generator['css/module'], 'exportsConvention', 'as-is');
58312
58269
  D(module1.generator['css/module'], 'localIdentName', localIdentName);
58313
- D(module1.generator['css/module'], 'esModule', true);
58314
58270
  }
58315
58271
  A(module1, 'defaultRules', ()=>{
58316
58272
  const esm = {
@@ -58461,7 +58417,7 @@ const applyOutputDefaults = (output, { context, outputModule, targetProperties:
58461
58417
  if (libraryName) return libraryName;
58462
58418
  const pkgPath = path_browserify_default().resolve(context, 'package.json');
58463
58419
  try {
58464
- const packageInfo = JSON.parse(browser_fs["default"].readFileSync(pkgPath, 'utf-8'));
58420
+ const packageInfo = JSON.parse(fs_0["default"].readFileSync(pkgPath, 'utf-8'));
58465
58421
  return packageInfo.name || '';
58466
58422
  } catch (err) {
58467
58423
  const e = err;
@@ -59730,13 +59686,13 @@ class ThreadsafeInputNodeFS {
59730
59686
  Object.assign(this, NOOP_FILESYSTEM);
59731
59687
  if (!fs) return;
59732
59688
  this.readDir = memoizeFn(()=>{
59733
- const readDirFn = util_default().promisify(fs.readdir.bind(fs));
59689
+ const readDirFn = util_0_default().promisify(fs.readdir.bind(fs));
59734
59690
  return async (filePath)=>{
59735
59691
  const res = await readDirFn(filePath);
59736
59692
  return res;
59737
59693
  };
59738
59694
  });
59739
- this.readFile = memoizeFn(()=>util_default().promisify(fs.readFile.bind(fs)));
59695
+ this.readFile = memoizeFn(()=>util_0_default().promisify(fs.readFile.bind(fs)));
59740
59696
  this.stat = memoizeFn(()=>(name)=>new Promise((resolve, reject)=>{
59741
59697
  fs.stat(name, (err, stats)=>{
59742
59698
  if (err) return reject(err);
@@ -59784,34 +59740,34 @@ class ThreadsafeOutputNodeFS {
59784
59740
  FileSystem_define_property(this, "readToEnd", void 0);
59785
59741
  Object.assign(this, NOOP_FILESYSTEM);
59786
59742
  if (!fs) return;
59787
- this.writeFile = memoizeFn(()=>util_default().promisify(fs.writeFile.bind(fs)));
59788
- this.removeFile = memoizeFn(()=>util_default().promisify(fs.unlink.bind(fs)));
59789
- this.mkdir = memoizeFn(()=>util_default().promisify(fs.mkdir.bind(fs)));
59790
- this.mkdirp = memoizeFn(()=>util_default().promisify(mkdirp.bind(null, fs)));
59791
- this.removeDirAll = memoizeFn(()=>util_default().promisify(rmrf.bind(null, fs)));
59743
+ this.writeFile = memoizeFn(()=>util_0_default().promisify(fs.writeFile.bind(fs)));
59744
+ this.removeFile = memoizeFn(()=>util_0_default().promisify(fs.unlink.bind(fs)));
59745
+ this.mkdir = memoizeFn(()=>util_0_default().promisify(fs.mkdir.bind(fs)));
59746
+ this.mkdirp = memoizeFn(()=>util_0_default().promisify(mkdirp.bind(null, fs)));
59747
+ this.removeDirAll = memoizeFn(()=>util_0_default().promisify(rmrf.bind(null, fs)));
59792
59748
  this.readDir = memoizeFn(()=>{
59793
- const readDirFn = util_default().promisify(fs.readdir.bind(fs));
59749
+ const readDirFn = util_0_default().promisify(fs.readdir.bind(fs));
59794
59750
  return async (filePath)=>{
59795
59751
  const res = await readDirFn(filePath);
59796
59752
  return res;
59797
59753
  };
59798
59754
  });
59799
- this.readFile = memoizeFn(()=>util_default().promisify(fs.readFile.bind(fs)));
59755
+ this.readFile = memoizeFn(()=>util_0_default().promisify(fs.readFile.bind(fs)));
59800
59756
  this.stat = memoizeFn(()=>{
59801
- const statFn = util_default().promisify(fs.stat.bind(fs));
59757
+ const statFn = util_0_default().promisify(fs.stat.bind(fs));
59802
59758
  return async (filePath)=>{
59803
59759
  const res = await statFn(filePath);
59804
59760
  return res && __to_binding_stat(res);
59805
59761
  };
59806
59762
  });
59807
59763
  this.lstat = memoizeFn(()=>{
59808
- const statFn = util_default().promisify((fs.lstat || fs.stat).bind(fs));
59764
+ const statFn = util_0_default().promisify((fs.lstat || fs.stat).bind(fs));
59809
59765
  return async (filePath)=>{
59810
59766
  const res = await statFn(filePath);
59811
59767
  return res && __to_binding_stat(res);
59812
59768
  };
59813
59769
  });
59814
- this.chmod = memoizeFn(()=>util_default().promisify(fs.chmod.bind(fs)));
59770
+ this.chmod = memoizeFn(()=>util_0_default().promisify(fs.chmod.bind(fs)));
59815
59771
  }
59816
59772
  }
59817
59773
  class ThreadsafeIntermediateNodeFS extends ThreadsafeOutputNodeFS {
@@ -59821,17 +59777,17 @@ class ThreadsafeIntermediateNodeFS extends ThreadsafeOutputNodeFS {
59821
59777
  constructor(fs){
59822
59778
  super(fs);
59823
59779
  if (!fs) return;
59824
- this.open = memoizeFn(()=>util_default().promisify(fs.open.bind(fs)));
59825
- this.rename = memoizeFn(()=>util_default().promisify(fs.rename.bind(fs)));
59826
- this.close = memoizeFn(()=>util_default().promisify(fs.close.bind(fs)));
59780
+ this.open = memoizeFn(()=>util_0_default().promisify(fs.open.bind(fs)));
59781
+ this.rename = memoizeFn(()=>util_0_default().promisify(fs.rename.bind(fs)));
59782
+ this.close = memoizeFn(()=>util_0_default().promisify(fs.close.bind(fs)));
59827
59783
  this.write = memoizeFn(()=>{
59828
- const writeFn = util_default().promisify(fs.write.bind(fs));
59784
+ const writeFn = util_0_default().promisify(fs.write.bind(fs));
59829
59785
  return async (fd, content, position)=>await writeFn(fd, content, {
59830
59786
  position
59831
59787
  });
59832
59788
  });
59833
59789
  this.writeAll = memoizeFn(()=>{
59834
- const writeFn = util_default().promisify(fs.writeFile.bind(fs));
59790
+ const writeFn = util_0_default().promisify(fs.writeFile.bind(fs));
59835
59791
  return async (fd, content)=>await writeFn(fd, content);
59836
59792
  });
59837
59793
  this.read = memoizeFn(()=>{
@@ -62410,7 +62366,7 @@ class MultiStats {
62410
62366
  return obj;
62411
62367
  });
62412
62368
  if (childOptions.version) {
62413
- obj.rspackVersion = "1.7.0-canary-3e8ba27b-20251227173645";
62369
+ obj.rspackVersion = "1.7.0-canary-82686ee2-20251229225853";
62414
62370
  obj.version = "5.75.0";
62415
62371
  }
62416
62372
  if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join('');
@@ -62518,7 +62474,7 @@ function each(collection, iterator, originalCallback) {
62518
62474
  if (!size) callback(null);
62519
62475
  }
62520
62476
  const asyncLib = {
62521
- each
62477
+ each: each
62522
62478
  };
62523
62479
  function MultiWatching_define_property(obj, key, value) {
62524
62480
  if (key in obj) Object.defineProperty(obj, key, {
@@ -62985,7 +62941,7 @@ class IgnoreWarningsPlugin {
62985
62941
  compilation.hooks.processWarnings.tap(this.name, (warnings)=>warnings.filter((warning)=>{
62986
62942
  const plainWarning = warning.message ? {
62987
62943
  ...warning,
62988
- message: util_default().stripVTControlCharacters(warning.message)
62944
+ message: util_0_default().stripVTControlCharacters(warning.message)
62989
62945
  } : warning;
62990
62946
  return !this._ignorePattern.some((ignore)=>ignore(plainWarning, compilation));
62991
62947
  }));
@@ -63697,7 +63653,7 @@ const SIMPLE_EXTRACTORS = {
63697
63653
  const [label, first, second] = entry.args;
63698
63654
  if ('number' == typeof first && 'number' == typeof second) message = `${label}: ${1000 * first + second / 1000000} ms`;
63699
63655
  }
63700
- if (!message) message = entry.args?.length ? util.format(entry.args[0], ...entry.args.slice(1)) : '';
63656
+ if (!message) message = entry.args?.length ? util_0.format(entry.args[0], ...entry.args.slice(1)) : '';
63701
63657
  const newEntry = {
63702
63658
  type,
63703
63659
  message: message || '',
@@ -63726,7 +63682,7 @@ const SIMPLE_EXTRACTORS = {
63726
63682
  },
63727
63683
  version: (object)=>{
63728
63684
  object.version = "5.75.0";
63729
- object.rspackVersion = "1.7.0-canary-3e8ba27b-20251227173645";
63685
+ object.rspackVersion = "1.7.0-canary-82686ee2-20251229225853";
63730
63686
  },
63731
63687
  env: (object, _compilation, _context, { _env })=>{
63732
63688
  object.env = _env;
@@ -65307,7 +65263,7 @@ class RspackOptionsApply {
65307
65263
  if (!options.output.path) throw new Error('options.output.path should have a value after `applyRspackOptionsDefaults`');
65308
65264
  compiler.outputPath = options.output.path;
65309
65265
  compiler.name = options.name;
65310
- compiler.outputFileSystem = browser_fs["default"];
65266
+ compiler.outputFileSystem = fs_0["default"];
65311
65267
  if (options.externals) {
65312
65268
  if (!options.externalsType) throw new Error('options.externalsType should have a value after `applyRspackOptionsDefaults`');
65313
65269
  new ExternalsPlugin(options.externalsType, options.externals, false).apply(compiler);
@@ -65738,8 +65694,6 @@ class LoaderTargetPlugin {
65738
65694
  this.target = target;
65739
65695
  }
65740
65696
  }
65741
- var CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.18.4/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
65742
- var CachedInputFileSystem_default = /*#__PURE__*/ __webpack_require__.n(CachedInputFileSystem);
65743
65697
  const filterToFunction = (item)=>{
65744
65698
  if ('string' == typeof item) {
65745
65699
  const regExp = new RegExp(`[\\\\/]${item.replace(/[-[\]{}()*+?.\\^$|]/g, '\\$&')}([\\\\/]|$|!|\\?)`);
@@ -65911,7 +65865,7 @@ class NodeWatchFileSystem {
65911
65865
  pause: ()=>{
65912
65866
  if (this.watcher) this.watcher.pause();
65913
65867
  },
65914
- getAggregatedRemovals: util_default().deprecate(()=>{
65868
+ getAggregatedRemovals: util_0_default().deprecate(()=>{
65915
65869
  const items = this.watcher?.aggregatedRemovals;
65916
65870
  if (items && this.inputFileSystem?.purge) {
65917
65871
  const fs = this.inputFileSystem;
@@ -65919,7 +65873,7 @@ class NodeWatchFileSystem {
65919
65873
  }
65920
65874
  return items ?? new Set();
65921
65875
  }, "Watcher.getAggregatedRemovals is deprecated in favor of Watcher.getInfo since that's more performant.", 'DEP_WEBPACK_WATCHER_GET_AGGREGATED_REMOVALS'),
65922
- getAggregatedChanges: util_default().deprecate(()=>{
65876
+ getAggregatedChanges: util_0_default().deprecate(()=>{
65923
65877
  const items = this.watcher?.aggregatedChanges;
65924
65878
  if (items && this.inputFileSystem?.purge) {
65925
65879
  const fs = this.inputFileSystem;
@@ -65927,8 +65881,8 @@ class NodeWatchFileSystem {
65927
65881
  }
65928
65882
  return items ?? new Set();
65929
65883
  }, "Watcher.getAggregatedChanges is deprecated in favor of Watcher.getInfo since that's more performant.", 'DEP_WEBPACK_WATCHER_GET_AGGREGATED_CHANGES'),
65930
- getFileTimeInfoEntries: util_default().deprecate(()=>fetchTimeInfo().fileTimeInfoEntries, "Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", 'DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES'),
65931
- getContextTimeInfoEntries: util_default().deprecate(()=>fetchTimeInfo().contextTimeInfoEntries, "Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", 'DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES'),
65884
+ getFileTimeInfoEntries: util_0_default().deprecate(()=>fetchTimeInfo().fileTimeInfoEntries, "Watcher.getFileTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", 'DEP_WEBPACK_WATCHER_FILE_TIME_INFO_ENTRIES'),
65885
+ getContextTimeInfoEntries: util_0_default().deprecate(()=>fetchTimeInfo().contextTimeInfoEntries, "Watcher.getContextTimeInfoEntries is deprecated in favor of Watcher.getInfo since that's more performant.", 'DEP_WEBPACK_WATCHER_CONTEXT_TIME_INFO_ENTRIES'),
65932
65886
  getInfo: ()=>{
65933
65887
  const removals = this.watcher?.aggregatedRemovals ?? new Set();
65934
65888
  const changes = this.watcher?.aggregatedChanges ?? new Set();
@@ -66033,7 +65987,7 @@ function nodeConsole({ colors, appendOnly, stream }) {
66033
65987
  const writeColored = (prefix, colorPrefix, colorSuffix)=>(...args)=>{
66034
65988
  if (currentCollapsed > 0) return;
66035
65989
  clearStatusMessage();
66036
- const str = indent(util.format(...args), prefix, colorPrefix, colorSuffix);
65990
+ const str = indent(util_0.format(...args), prefix, colorPrefix, colorSuffix);
66037
65991
  stream.write(`${str}\n`);
66038
65992
  writeStatusMessage();
66039
65993
  };
@@ -66093,6 +66047,8 @@ function nodeConsole({ colors, appendOnly, stream }) {
66093
66047
  }
66094
66048
  };
66095
66049
  }
66050
+ const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.18.4/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
66051
+ var CachedInputFileSystem_default = /*#__PURE__*/ __webpack_require__.n(CachedInputFileSystem);
66096
66052
  function NodeEnvironmentPlugin_define_property(obj, key, value) {
66097
66053
  if (key in obj) Object.defineProperty(obj, key, {
66098
66054
  value: value,
@@ -66115,9 +66071,9 @@ class NodeEnvironmentPlugin {
66115
66071
  stream: infrastructureLogging.stream
66116
66072
  })
66117
66073
  });
66118
- const inputFileSystem = new (CachedInputFileSystem_default())(browser_fs["default"], 60000);
66074
+ const inputFileSystem = new (CachedInputFileSystem_default())(fs_0["default"], 60000);
66119
66075
  compiler.inputFileSystem = inputFileSystem;
66120
- compiler.outputFileSystem = browser_fs["default"];
66076
+ compiler.outputFileSystem = fs_0["default"];
66121
66077
  compiler.intermediateFileSystem = null;
66122
66078
  if (compiler.options.experiments.nativeWatcher) compiler.watchFileSystem = new NativeWatchFileSystem(inputFileSystem);
66123
66079
  else compiler.watchFileSystem = new NodeWatchFileSystem(inputFileSystem);
@@ -66187,7 +66143,7 @@ function readPKGJson(root) {
66187
66143
  const base = root ? (0, path_browserify.resolve)(root) : ModuleFederationManifestPlugin_process.cwd();
66188
66144
  const pkgPath = (0, path_browserify.join)(base, 'package.json');
66189
66145
  try {
66190
- const content = (0, browser_fs.readFileSync)(pkgPath, 'utf-8');
66146
+ const content = (0, fs_0.readFileSync)(pkgPath, 'utf-8');
66191
66147
  const parsed = parseJSON(content, isPlainObject);
66192
66148
  if (parsed) {
66193
66149
  const filtered = {};
@@ -66294,13 +66250,26 @@ class ModuleFederationPlugin {
66294
66250
  ...compiler.options.resolve.alias
66295
66251
  };
66296
66252
  const entryRuntime = getDefaultEntryRuntime(paths, this._options, compiler);
66253
+ const runtimeExperiments = {
66254
+ asyncStartup: this._options.experiments?.asyncStartup ?? false
66255
+ };
66297
66256
  new ModuleFederationRuntimePlugin({
66298
- entryRuntime
66257
+ entryRuntime,
66258
+ experiments: runtimeExperiments
66299
66259
  }).apply(compiler);
66300
- new webpack.container.ModuleFederationPluginV1({
66301
- ...this._options,
66260
+ const v1Options = {
66261
+ name: this._options.name,
66262
+ exposes: this._options.exposes,
66263
+ filename: this._options.filename,
66264
+ library: this._options.library,
66265
+ remoteType: this._options.remoteType,
66266
+ remotes: this._options.remotes,
66267
+ runtime: this._options.runtime,
66268
+ shareScope: this._options.shareScope,
66269
+ shared: this._options.shared,
66302
66270
  enhanced: true
66303
- }).apply(compiler);
66271
+ };
66272
+ new webpack.container.ModuleFederationPluginV1(v1Options).apply(compiler);
66304
66273
  if (this._options.manifest) {
66305
66274
  const manifestOptions = true === this._options.manifest ? {} : {
66306
66275
  ...this._options.manifest
@@ -66760,14 +66729,19 @@ class ContainerReferencePlugin extends RspackBuiltinPlugin {
66760
66729
  raw(compiler) {
66761
66730
  const { remoteType, remotes } = this._options;
66762
66731
  const remoteExternals = {};
66732
+ const importExternals = {};
66763
66733
  for (const [key, config] of remotes){
66764
66734
  let i = 0;
66765
- for (const external of config.external)if (!external.startsWith('internal ')) {
66766
- remoteExternals[`webpack/container/reference/${key}${i ? `/fallback-${i}` : ''}`] = external;
66735
+ for (const external of config.external){
66736
+ if (external.startsWith('internal ')) continue;
66737
+ const request = `webpack/container/reference/${key}${i ? `/fallback-${i}` : ''}`;
66738
+ if (('module' === remoteType || 'module-import' === remoteType) && external.startsWith('.')) importExternals[request] = external;
66739
+ else remoteExternals[request] = external;
66767
66740
  i++;
66768
66741
  }
66769
66742
  }
66770
66743
  new ExternalsPlugin(remoteType, remoteExternals, true).apply(compiler);
66744
+ if (Object.keys(importExternals).length > 0) new ExternalsPlugin('import', importExternals, true).apply(compiler);
66771
66745
  new ShareRuntimePlugin(this._options.enhanced).apply(compiler);
66772
66746
  const rawOptions = {
66773
66747
  remoteType: this._options.remoteType,
@@ -66863,7 +66837,7 @@ function transformSync(source, options) {
66863
66837
  const _options = JSON.stringify(options || {});
66864
66838
  return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
66865
66839
  }
66866
- const exports_rspackVersion = "1.7.0-canary-3e8ba27b-20251227173645";
66840
+ const exports_rspackVersion = "1.7.0-canary-82686ee2-20251229225853";
66867
66841
  const exports_version = "5.75.0";
66868
66842
  const exports_WebpackError = Error;
66869
66843
  const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
@@ -66873,7 +66847,7 @@ const exports_config = {
66873
66847
  getNormalizedWebpackOptions: getNormalizedRspackOptions,
66874
66848
  applyWebpackOptionsDefaults: applyRspackOptionsDefaults
66875
66849
  };
66876
- const exports_util = {
66850
+ const util = {
66877
66851
  createHash: createHash_createHash,
66878
66852
  cleverMerge: cachedCleverMerge
66879
66853
  };
@@ -67237,7 +67211,7 @@ class BrowserRequirePlugin {
67237
67211
  if (!execute) throw Error(`You should provide 'execute' option if there's no mapping for module '${id}'`);
67238
67212
  const { path: loaderPath } = (0, external_rspack_wasi_browser_js_.sync)('', id);
67239
67213
  if (!loaderPath) throw new Error(`Cannot find loader of ${id}`);
67240
- const data = browser_fs["default"].readFileSync(loaderPath);
67214
+ const data = fs_0["default"].readFileSync(loaderPath);
67241
67215
  const code = data?.toString() || '';
67242
67216
  const module1 = {
67243
67217
  exports: {}
@@ -67263,16 +67237,8 @@ class BrowserRequirePlugin {
67263
67237
  }
67264
67238
  BrowserRequirePlugin_define_property(BrowserRequirePlugin, "unsafeExecute", unsafeExecute);
67265
67239
  const builtinMemFs = {
67266
- fs: browser_fs.fs,
67267
- volume: browser_fs.volume,
67268
- memfs: browser_fs.memfs
67240
+ fs: fs_0.fs,
67241
+ volume: fs_0.volume,
67242
+ memfs: fs_0.memfs
67269
67243
  };
67270
- var __webpack_exports__AsyncDependenciesBlock = external_rspack_wasi_browser_js_.AsyncDependenciesBlock;
67271
- var __webpack_exports__ConcatenatedModule = external_rspack_wasi_browser_js_.ConcatenatedModule;
67272
- var __webpack_exports__ContextModule = external_rspack_wasi_browser_js_.ContextModule;
67273
- var __webpack_exports__Dependency = external_rspack_wasi_browser_js_.Dependency;
67274
- var __webpack_exports__EntryDependency = external_rspack_wasi_browser_js_.EntryDependency;
67275
- var __webpack_exports__ExternalModule = external_rspack_wasi_browser_js_.ExternalModule;
67276
- var __webpack_exports__Module = external_rspack_wasi_browser_js_.Module;
67277
- var __webpack_exports__NormalModule = external_rspack_wasi_browser_js_.NormalModule;
67278
- export { BannerPlugin, BrowserHttpImportEsmPlugin, BrowserRequirePlugin, CaseSensitivePlugin, CircularDependencyRspackPlugin, Compilation, Compiler, ContextReplacementPlugin, CopyRspackPlugin, CssExtractRspackPlugin, DefinePlugin, DllPlugin, DllReferencePlugin, DynamicEntryPlugin, lib_EntryOptionPlugin as EntryOptionPlugin, EntryPlugin, EnvironmentPlugin, EvalDevToolModulePlugin, EvalSourceMapDevToolPlugin, ExternalsPlugin, HotModuleReplacementPlugin, HtmlRspackPlugin, IgnorePlugin, LightningCssMinimizerRspackPlugin, LoaderOptionsPlugin, LoaderTargetPlugin, ModuleFilenameHelpers_namespaceObject as ModuleFilenameHelpers, MultiCompiler, MultiStats, NoEmitOnErrorsPlugin, NormalModuleReplacementPlugin, ProgressPlugin, ProvidePlugin, RspackOptionsApply, DefaultRuntimeGlobals as RuntimeGlobals, RuntimeModule, RuntimePlugin, SourceMapDevToolPlugin, Stats, statsFactoryUtils_StatsErrorCode as StatsErrorCode, SubresourceIntegrityPlugin, SwcJsMinimizerRspackPlugin, Template, ValidationError, CaseSensitivePlugin as WarnCaseSensitiveModulesPlugin, exports_WebpackError as WebpackError, RspackOptionsApply as WebpackOptionsApply, builtinMemFs, exports_config as config, container, electron, exports_experiments as experiments, javascript, lazyCompilationMiddleware, exports_library as library, exports_node as node, optimize, src_rspack_0 as rspack, exports_rspackVersion as rspackVersion, sharing, sources, exports_util as util, exports_version as version, exports_wasm as wasm, web, webworker, __webpack_exports__AsyncDependenciesBlock as AsyncDependenciesBlock, __webpack_exports__ConcatenatedModule as ConcatenatedModule, __webpack_exports__ContextModule as ContextModule, __webpack_exports__Dependency as Dependency, __webpack_exports__EntryDependency as EntryDependency, __webpack_exports__ExternalModule as ExternalModule, __webpack_exports__Module as Module, __webpack_exports__NormalModule as NormalModule };
67244
+ export { AsyncDependenciesBlock, BannerPlugin, BrowserHttpImportEsmPlugin, BrowserRequirePlugin, CaseSensitivePlugin, CaseSensitivePlugin as WarnCaseSensitiveModulesPlugin, CircularDependencyRspackPlugin, Compilation, Compiler, ConcatenatedModule, ContextModule, ContextReplacementPlugin, CopyRspackPlugin, CssExtractRspackPlugin, DefaultRuntimeGlobals as RuntimeGlobals, DefinePlugin, Dependency, DllPlugin, DllReferencePlugin, DynamicEntryPlugin, EntryDependency, EntryPlugin, EnvironmentPlugin, EvalDevToolModulePlugin, EvalSourceMapDevToolPlugin, ExternalModule, ExternalsPlugin, HotModuleReplacementPlugin, HtmlRspackPlugin, IgnorePlugin, LightningCssMinimizerRspackPlugin, LoaderOptionsPlugin, LoaderTargetPlugin, Module, ModuleFilenameHelpers_namespaceObject as ModuleFilenameHelpers, MultiCompiler, MultiStats, NoEmitOnErrorsPlugin, NormalModule, NormalModuleReplacementPlugin, ProgressPlugin, ProvidePlugin, RspackOptionsApply, RspackOptionsApply as WebpackOptionsApply, RuntimeModule, RuntimePlugin, SourceMapDevToolPlugin, Stats, SubresourceIntegrityPlugin, SwcJsMinimizerRspackPlugin, Template, ValidationError, builtinMemFs, container, electron, exports_WebpackError as WebpackError, exports_config as config, exports_experiments as experiments, exports_library as library, exports_node as node, exports_rspackVersion as rspackVersion, exports_version as version, exports_wasm as wasm, javascript, lazyCompilationMiddleware, lib_EntryOptionPlugin as EntryOptionPlugin, optimize, sharing, sources, src_rspack_0 as rspack, statsFactoryUtils_StatsErrorCode as StatsErrorCode, util, web, webworker };