Skip to content

Comments

Configure for remote build: add remoteBuild to azure.yaml, update .funcignore#18

Open
anthonychu wants to merge 2 commits intoAzure-Samples:mainfrom
anthonychu:update-remote-build-config
Open

Configure for remote build: add remoteBuild to azure.yaml, update .funcignore#18
anthonychu wants to merge 2 commits intoAzure-Samples:mainfrom
anthonychu:update-remote-build-config

Conversation

@anthonychu
Copy link
Member

@anthonychu anthonychu commented Feb 12, 2026

Summary

Configures the project for remote build when deploying with azd.

Changes

  • azure.yaml: Added remoteBuild: true under the api service
  • .funcignore: Updated to ignore the full node_modules directory (previously only ignored specific subdirectories)

Context

When deploying Node.js/TypeScript Azure Functions apps with azd, remote build is used. The .funcignore was previously only ignoring specific node_modules subdirectories (@types/, azure-functions-core-tools/, typescript/), which means the rest of node_modules was being uploaded unnecessarily. This change ignores the entire node_modules folder so dependencies are installed during remote build instead.

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.

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.

3 participants