Search code examples
azuretypescriptazure-git-deployment

Is there a way to run the TypeScript compiler as part of the Azure Git Deploy


I would like to avoid adding the generated JavaScript files to the git source control repository. Does the Azure Git Deploy support running addition commands to run the build before deploying the files?


Solution

  • Yes, you can run arbitrary logic using a custom deployment script. You'll need to either include the tools you need in your repo, or preferably download them as needed (to avoid commiting binaries).