docs: Add ts-node dependency warning to README (#10472)

This commit is contained in:
Daniel Mackenzie 2022-01-10 16:56:31 +00:00 committed by GitHub
parent 0cc77747df
commit 702f779b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,6 +163,8 @@ const serverlessConfiguration: Serverless = {
module.exports = serverlessConfiguration;
```
> If deploying using a serverless.ts file, ts-node needs to be installed separately as a dev dependency.
When you deploy with the Framework by running `serverless deploy`, everything in the service configuration file is deployed at once.
> For the sake of simplicity, most code snippet detailed in this documentation only refer to the `serverless.yml` YAML service file format. However, all functionalities work as well in the other available service file formats.