netlify / build

Netlify Build (node process) runs the build command, Build Plugins and bundles Netlify Functions. Can be run in Buildbot or locally using Netlify CLI
https://docs.netlify.com/configure-builds/build-plugins/
MIT License
218 stars 56 forks source link

[config] chore: move envelope API call to fetch in parallel rather than sequentially #4896

Open jasonbarry opened 1 year ago

jasonbarry commented 1 year ago

https://github.com/netlify/build/blob/main/packages/config/src/api/site_info.ts#L46-L59

Once all sites have migrated to the new environment variables experience, it will be safe to move this call to the Promise.all() call above it. Should make things a little bit faster for the bootup of ntl dev, ntl env, and any other commands that use the cached config's siteInfo.

jasonbarry commented 11 months ago

Blocked by https://github.com/netlify/bitballoon/issues/16952