-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Serverless framework with Node ES6 modules #712
Comments
Yes it is possible to use ES6 modules or even better Typescript. If you want an example with the latest package versions visit this article http://medium.com/@durazno.marcodali/create-a-serverless-backend-for-your-new-project-with-lambda-dynamodb-and-typescript-in-a-couple-57b7a44b9a50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've just set up serverless with an aws/node/express template, and found that the template was using common JS. I haven't used CJS in quite a while, using ES6 modules instead. I haven't found much info at all on serverless and ES6 modules, so asking to what what the status on support is?
AWS supports ES6 modules, as I've created an AWS service with ESM before. But what I convert the template to ESM I get {"message":"Internal Server Error"} as a response from the home route (this route was working before).
Thanks in advance
The text was updated successfully, but these errors were encountered: