@umijs/mfsu 4.4.8 → 4.4.10

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.
@@ -64,3 +64,5 @@ function MFImport_default() {
64
64
  }
65
65
  };
66
66
  }
67
+ // Annotate the CommonJS export names for ESM import in node:
68
+ 0 && (module.exports = {});
@@ -113,3 +113,5 @@ function awaitImport_default() {
113
113
  }
114
114
  };
115
115
  }
116
+ // Annotate the CommonJS export names for ESM import in node:
117
+ 0 && (module.exports = {});
@@ -69,7 +69,7 @@ var DepBuilder = class {
69
69
  const tmpDir = this.opts.mfsu.opts.tmpBase;
70
70
  const entryPath = (0, import_path.join)(tmpDir, ENTRY_FILE);
71
71
  (0, import_fs.writeFileSync)(entryPath, entryContent, "utf-8");
72
- const date = (/* @__PURE__ */ new Date()).getTime();
72
+ const date = new Date().getTime();
73
73
  await (0, import_bundler_esbuild.build)({
74
74
  cwd: this.opts.mfsu.opts.cwd,
75
75
  entry: {
@@ -84,7 +84,7 @@ var DepBuilder = class {
84
84
  inlineStyle: true
85
85
  });
86
86
  import_utils.logger.event(
87
- `[mfsu] compiled with esbuild successfully in ${+/* @__PURE__ */ new Date() - date} ms`
87
+ `[mfsu] compiled with esbuild successfully in ${+new Date() - date} ms`
88
88
  );
89
89
  opts.onBuildComplete();
90
90
  }
package/dist/index.js CHANGED
@@ -29,8 +29,5 @@ var import_esbuild = require("./loader/esbuild");
29
29
  __reExport(src_exports, require("./mfsu/mfsu"), module.exports);
30
30
  // Annotate the CommonJS export names for ESM import in node:
31
31
  0 && (module.exports = {
32
- esbuildLoader,
33
- ...require("./constants"),
34
- ...require("./esbuildHandlers/autoCssModules"),
35
- ...require("./mfsu/mfsu")
32
+ esbuildLoader
36
33
  });
@@ -26,3 +26,5 @@ var import_importParser = require("../../vendors/importParser/_importParser.js")
26
26
  function parse(code) {
27
27
  return (0, import_importParser.parse)(code);
28
28
  }
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {});
@@ -116,3 +116,5 @@ function errorLogForSpaceImport(libraryName) {
116
116
  import_utils.logger.error(` or use mfsu#strategy='normal' configuration`);
117
117
  throw Error(`"import * as ant from 'antd'" not allowed in mfsu#version=4`);
118
118
  }
119
+ // Annotate the CommonJS export names for ESM import in node:
120
+ 0 && (module.exports = {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/mfsu",
3
- "version": "4.4.8",
3
+ "version": "4.4.10",
4
4
  "description": "@umijs/mfsu",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/mfsu#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "enhanced-resolve": "5.9.3",
21
21
  "is-equal": "^1.6.4",
22
- "@umijs/bundler-esbuild": "4.4.8",
23
- "@umijs/bundler-utils": "4.4.8",
24
- "@umijs/utils": "4.4.8"
22
+ "@umijs/bundler-esbuild": "4.4.10",
23
+ "@umijs/bundler-utils": "4.4.10",
24
+ "@umijs/utils": "4.4.10"
25
25
  },
26
26
  "devDependencies": {
27
27
  "is-absolute-url": "^4.0.1",