aws-amplify / aws-amplify/amplify-cli

Ignore x.ts (typescript) files when `amplify push` happens.

Open
#7,183 1 comment 0 reactions 0 assignees View on GitHub
feature-request functions p3
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

>**Note**: If your question is regarding the AWS Amplify Console service, please log it in the
[AWS Amplify Console repository](https://github.com/aws-amplify/amplify-console/issues)

**Which Category is your question related to?**
Function

**Amplify CLI Version**

4.49.0

**What AWS Services are you utilizing?** AWS Lambda

**Provide additional details e.g. code snippets**

Ignore files when `amplify push`, specifically lambda function files. Example: Add .amplifyignore to not send some .ts (typescript) files to AWS.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Amplify CLI Lambda packaging path used by `amplify push`, focusing on how TypeScript files are selected for upload. Done means a configured ignore rule can exclude specified `.ts` files from Lambda deployment without preventing the remaining function files from being pushed.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cli, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.