testeranto 0.79.28 → 0.79.29
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/common/Project.js
CHANGED
|
@@ -11,7 +11,6 @@ const readline_1 = __importDefault(require("readline"));
|
|
|
11
11
|
const glob_1 = require("glob");
|
|
12
12
|
const node_js_1 = __importDefault(require("./esbuildConfigs/node.js"));
|
|
13
13
|
const web_js_1 = __importDefault(require("./esbuildConfigs/web.js"));
|
|
14
|
-
const features_js_1 = __importDefault(require("./esbuildConfigs/features.js"));
|
|
15
14
|
const web_html_js_1 = __importDefault(require("./web.html.js"));
|
|
16
15
|
var mode = process.argv[2] === "-dev" ? "DEV" : "PROD";
|
|
17
16
|
readline_1.default.emitKeypressEvents(process.stdin);
|
|
@@ -103,20 +102,19 @@ class ITProject {
|
|
|
103
102
|
});
|
|
104
103
|
Promise.all([
|
|
105
104
|
fs_1.default.promises.writeFile(`${config.outdir}/testeranto.json`, JSON.stringify(Object.assign(Object.assign({}, config), { buildDir: process.cwd() + "/" + config.outdir }), null, 2)),
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}),
|
|
105
|
+
// esbuild
|
|
106
|
+
// .context(esbuildFeaturesConfiger(config))
|
|
107
|
+
// .then(async (featuresContext) => {
|
|
108
|
+
// if (mode == "DEV") {
|
|
109
|
+
// await featuresContext.watch();
|
|
110
|
+
// onFeaturesDone();
|
|
111
|
+
// } else {
|
|
112
|
+
// featuresContext.rebuild().then((v) => {
|
|
113
|
+
// onFeaturesDone();
|
|
114
|
+
// });
|
|
115
|
+
// }
|
|
116
|
+
// return featuresContext;
|
|
117
|
+
// }),
|
|
120
118
|
esbuild_1.default
|
|
121
119
|
.context((0, node_js_1.default)(config, nodeEntryPoints))
|
|
122
120
|
.then(async (nodeContext) => {
|