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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edgeone",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Command-line interface for TencentCloud Pages Functions",
5
5
  "bin": {
6
6
  "edgeone": "./edgeone-bin/edgeone.js"