ncc has the `--license` flag, which creates a license file for all of the production node modules used in the project. The same should be achievable using an esbuild plugin.