@rsdoctor/utils 1.3.13-beta.0 → 1.3.13

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/build.js CHANGED
@@ -16,7 +16,7 @@ import get_port from "get-port";
16
16
  import { exec, execSync } from "child_process";
17
17
  import envinfo_0 from "envinfo";
18
18
  import { filesize } from "../compiled/filesize/index.js";
19
- import * as __WEBPACK_EXTERNAL_MODULE_fs_extra_ce68a66b__ from "fs-extra";
19
+ import * as __rspack_external_fs_extra_ce68a66b from "fs-extra";
20
20
  var __webpack_require__ = {};
21
21
  __webpack_require__.d = (exports, definition)=>{
22
22
  for(var key in definition)__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key) && Object.defineProperty(exports, key, {
@@ -41,7 +41,7 @@ var file_namespaceObject = {};
41
41
  __webpack_require__.r(file_namespaceObject), __webpack_require__.d(file_namespaceObject, {
42
42
  FileSharding: ()=>FileSharding,
43
43
  cache: ()=>cache_namespaceObject,
44
- fse: ()=>__WEBPACK_EXTERNAL_MODULE_fs_extra_ce68a66b__
44
+ fse: ()=>__rspack_external_fs_extra_ce68a66b
45
45
  });
46
46
  var json_namespaceObject = {};
47
47
  __webpack_require__.r(json_namespaceObject), __webpack_require__.d(json_namespaceObject, {
@@ -93,7 +93,7 @@ class FileSharding {
93
93
  }
94
94
  async writeStringToFolder(folder, ext = '', index) {
95
95
  let dist = path_0.resolve(folder);
96
- await __WEBPACK_EXTERNAL_MODULE_fs_extra_ce68a66b__.default.ensureDir(dist);
96
+ await __rspack_external_fs_extra_ce68a66b.default.ensureDir(dist);
97
97
  let res = this.createVirtualShardingFiles(ext, index);
98
98
  return await Promise.all(res.map((e)=>new Promise((resolve, reject)=>{
99
99
  let stream = fs_0.createWriteStream(path_0.join(dist, e.filename), this.encoding);