When I am using esbuild I find I have to list all of the sub folders in order to get them to compile.
For example:
esbuild server/*.ts server/**/*.ts server/**/**/*.ts --bundle --platform=node --outdir=dist
I am building a fastify app with the @fastify/autoload plugin so not all of my files are imported and hence, can not all be located via imports from the main entry point.
How can I tell esbuild to look in every subfolder in server and compile all of the .ts files it finds?