@umijs/mfsu 4.4.7 → 4.4.9
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/babelPlugins/awaitImport/MFImport.js +0 -2
- package/dist/babelPlugins/awaitImport/awaitImport.js +0 -2
- package/dist/depBuilder/depBuilder.js +2 -2
- package/dist/index.js +4 -1
- package/dist/staticDepInfo/importParser.js +0 -2
- package/dist/staticDepInfo/simulations/babel-plugin-import.js +0 -2
- package/package.json +4 -4
|
@@ -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 = new Date().getTime();
|
|
72
|
+
const date = (/* @__PURE__ */ 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 ${
|
|
87
|
+
`[mfsu] compiled with esbuild successfully in ${+/* @__PURE__ */ new Date() - date} ms`
|
|
88
88
|
);
|
|
89
89
|
opts.onBuildComplete();
|
|
90
90
|
}
|
package/dist/index.js
CHANGED
|
@@ -29,5 +29,8 @@ 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
|
|
32
|
+
esbuildLoader,
|
|
33
|
+
...require("./constants"),
|
|
34
|
+
...require("./esbuildHandlers/autoCssModules"),
|
|
35
|
+
...require("./mfsu/mfsu")
|
|
33
36
|
});
|
|
@@ -116,5 +116,3 @@ 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.
|
|
3
|
+
"version": "4.4.9",
|
|
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-
|
|
23
|
-
"@umijs/utils": "4.4.
|
|
24
|
-
"@umijs/
|
|
22
|
+
"@umijs/bundler-esbuild": "4.4.9",
|
|
23
|
+
"@umijs/bundler-utils": "4.4.9",
|
|
24
|
+
"@umijs/utils": "4.4.9"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"is-absolute-url": "^4.0.1",
|