edgeone 1.0.3 → 1.0.4
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/edgeone-dist/cli.js +6 -0
- package/package.json +1 -1
package/edgeone-dist/cli.js
CHANGED
|
@@ -113381,6 +113381,12 @@ function parse2(config, path9) {
|
|
|
113381
113381
|
result.headers = result_h;
|
|
113382
113382
|
result.redirects = result_r;
|
|
113383
113383
|
result.rewrites = result_w;
|
|
113384
|
+
const rest_arg = ["outputDirectory", "installCommand", "buildCommand", "nodeVersion"];
|
|
113385
|
+
for (const key2 in config) {
|
|
113386
|
+
if (rest_arg.includes(key2) && config[key2]) {
|
|
113387
|
+
result[key2] = config[key2];
|
|
113388
|
+
}
|
|
113389
|
+
}
|
|
113384
113390
|
message.push(...message_h, ...message_r, ...message_w);
|
|
113385
113391
|
return [result, message];
|
|
113386
113392
|
}
|