Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: Add settings presets #15

Open
doteric opened this issue Nov 23, 2022 · 1 comment
Open

TODO: Add settings presets #15

doteric opened this issue Nov 23, 2022 · 1 comment

Comments

@doteric
Copy link
Owner

doteric commented Nov 23, 2022

  • Basic (Default, current setup)
  • ESM (esmodules with additionally copying the type from the package.json)
  • ESM with splitting? Same as above, but additionally with splitting?
  • Anything else?
@doteric
Copy link
Owner Author

doteric commented Mar 29, 2023

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
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant