Skip to content

functionapp: handle .funcignore more gracefully#7223

Draft
weikanglim wants to merge 2 commits intoAzure:mainfrom
weikanglim:weilim/js-func-local-build-switch
Draft

functionapp: handle .funcignore more gracefully#7223
weikanglim wants to merge 2 commits intoAzure:mainfrom
weikanglim:weilim/js-func-local-build-switch

Conversation

@weikanglim
Copy link
Contributor

@weikanglim weikanglim commented Mar 20, 2026

Currently, azd defaults remoteBuild: true for flex-consumption function apps. This static default causes customer pain when the .funcignore file contents isn't compatible with the build behavior. Primarily, users scaffolding a function app project using func cli are impacted.

To address this, we now default the remoteBuild setting intelligently based on the contents of the .funcignore file. When remoteBuild is set explicitly, we also validate and fail fast if the .funcignore is detected to be incompatible (i.e. the presence of node_modules).

Fixes #6531

@weikanglim weikanglim changed the title functionapp: switch language-based remoteBuild resolution + JS/TS matrix validation functionapp: handle .funcignore more gracefully Mar 20, 2026
@weikanglim weikanglim force-pushed the weilim/js-func-local-build-switch branch from 95678ea to 130bdb7 Compare March 20, 2026 18:19
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.

[Feature request] Support new properties in azure.yaml for Azure Function app deployment

1 participant