Skip to content

Comments

Configure for remote build: update .funcignore and azure.yaml#4

Merged
sinedied merged 1 commit intoAzure-Samples:mainfrom
anthonychu:update-remote-build-config
Feb 16, 2026
Merged

Configure for remote build: update .funcignore and azure.yaml#4
sinedied merged 1 commit intoAzure-Samples:mainfrom
anthonychu:update-remote-build-config

Conversation

@anthonychu
Copy link
Member

Summary

Fixes the project configuration for remote build when deploying with azd.

Changes

  • azure.yaml: Added remoteBuild: true under the api service
  • packages/api/.funcignore: Reconfigured for remote build — removed *.ts and tsconfig.json from ignore list, added node_modules

Context

When deploying Node.js/TypeScript Azure Functions apps with azd, remote build is used. The previous .funcignore was configured for local build: it ignored *.ts and tsconfig.json (preventing remote compilation) and did not ignore node_modules (uploading all dependencies). This change flips the configuration so source files are included and node_modules are excluded, allowing remote build to compile TypeScript and install dependencies correctly.

About remoteBuild: true in azure.yaml

The remoteBuild: true flag in azure.yaml is being added ahead of support in azd. See Azure/azure-dev#6748.

Adding this flag now has no effect on current versions of azd, but will be used by new versions that support it. The goal is to explicitly pin the remote build behavior for this project so that it is not affected by potential future changes to the default build behavior in azd.

@anthonychu anthonychu requested a review from sinedied as a code owner February 12, 2026 17:34
@sinedied sinedied merged commit a401735 into Azure-Samples:main Feb 16, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants