..\node_modules\.bin\esbuild app.ts --sourcemap --bundle --outfile=../wwwroot/js/app.js


Create a new alias for easy access
New-Alias  -Name esbuild -Value ..\node_modules\.bin\esbuild

After alias, just do like this:
esbuild app.ts --sourcemap --bundle --outfile=../wwwroot/js/app.js

