@dd-code/uni-tools 1.0.11 → 1.0.12
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.js +3 -4
- package/dist/index.mjs.js +3 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1076,7 +1076,6 @@ var createManifestPlugin = function (manifestJson) {
|
|
|
1076
1076
|
var collectFiles = new CollectFiles();
|
|
1077
1077
|
return {
|
|
1078
1078
|
name: "@dd-code:genre-mainfest-file-list",
|
|
1079
|
-
enforce: "post",
|
|
1080
1079
|
config: function (config) {
|
|
1081
1080
|
var _a;
|
|
1082
1081
|
var outDir = ((_a = config.build) === null || _a === void 0 ? void 0 : _a.outDir) || "dist";
|
|
@@ -1108,9 +1107,9 @@ var createManifestPlugin = function (manifestJson) {
|
|
|
1108
1107
|
manifestJson.saveFile(filePath);
|
|
1109
1108
|
// console.log({ filePath }, "sourcePath");
|
|
1110
1109
|
// addRunningAppToSave(manifestJson.value.appCode, filePath);
|
|
1111
|
-
setTimeout(
|
|
1112
|
-
|
|
1113
|
-
}, 0);
|
|
1110
|
+
// setTimeout(() => {
|
|
1111
|
+
collectFiles.copyFilesToPublishDir();
|
|
1112
|
+
// }, 0);
|
|
1114
1113
|
},
|
|
1115
1114
|
};
|
|
1116
1115
|
};
|
package/dist/index.mjs.js
CHANGED
|
@@ -1074,7 +1074,6 @@ var createManifestPlugin = function (manifestJson) {
|
|
|
1074
1074
|
var collectFiles = new CollectFiles();
|
|
1075
1075
|
return {
|
|
1076
1076
|
name: "@dd-code:genre-mainfest-file-list",
|
|
1077
|
-
enforce: "post",
|
|
1078
1077
|
config: function (config) {
|
|
1079
1078
|
var _a;
|
|
1080
1079
|
var outDir = ((_a = config.build) === null || _a === void 0 ? void 0 : _a.outDir) || "dist";
|
|
@@ -1106,9 +1105,9 @@ var createManifestPlugin = function (manifestJson) {
|
|
|
1106
1105
|
manifestJson.saveFile(filePath);
|
|
1107
1106
|
// console.log({ filePath }, "sourcePath");
|
|
1108
1107
|
// addRunningAppToSave(manifestJson.value.appCode, filePath);
|
|
1109
|
-
setTimeout(
|
|
1110
|
-
|
|
1111
|
-
}, 0);
|
|
1108
|
+
// setTimeout(() => {
|
|
1109
|
+
collectFiles.copyFilesToPublishDir();
|
|
1110
|
+
// }, 0);
|
|
1112
1111
|
},
|
|
1113
1112
|
};
|
|
1114
1113
|
};
|