doteric / funpack

Functions Packager (for AWS Lambdas for example)
https://www.npmjs.com/package/funpack
6 stars 0 forks source link

TODO: Add settings presets #15

Open doteric opened 1 year ago

doteric commented 1 year ago
doteric commented 1 year ago

AWS CloudFront Functions example:

  "settings": {
      "esbuildConfigOverride": {
        "format": "cjs",
        "target": "es5",
        "platform": "neutral",
        "treeShaking": true,
        "banner": {
          "js": "var module = {};"
        },
        "minifyIdentifiers": false,
        "supported": {
          "const-and-let": false,
          "exponent-operator": true,
          "template-literal": true,
          "arrow": true,
          "rest-argument": true,
          "regexp-named-capture-groups": true
        }
      },
      "zip": false
    },