This workflow builds the artifact using esbuild and zip instead of npm-pack-zip and bundledDependencies
The artifacts created by this workflow contains a "plain old javascript project" with index.js, package.json and node_modules
This workflow can create artifacts for all kind of workspaces (function apps, app services) as long they have an entrypoint specified in the main field of their package.json file
Motivation and context
This workflow is required to use Yarn Plug'n'Play in production workflow and to unify the artifact building for node projects.
Type of changes
[ ] Add new resources
[ ] Update configuration to existing resources
[ ] Remove existing resources
Does this introduce a change to production resources with possible user impact?
[ ] Yes, users may be impacted applying this change
List of changes
web_app_deploy.yaml
workflowChanges from
function_app_deploy.yaml
esbuild
andzip
instead ofnpm-pack-zip
andbundledDependencies
index.js
,package.json
andnode_modules
main
field of theirpackage.json
fileMotivation and context
This workflow is required to use
Yarn Plug'n'Play
in production workflow and to unify the artifact building for node projects.Type of changes
Does this introduce a change to production resources with possible user impact?
Other information