This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
Build: build step takes a long time, causing Netlify deploys to fail #679
Labels
infrastructure
Relates to the tools used to develop the website
Our Netlify deploys are currently failing, and I believe it's due to the fact that we're now bundling ESLint in our build step, causing the Netlify build to time out.
The bundling takes a long time locally as well (I think this is due toBy addingbabel-loader
having to be run onsrc/js/demo/node_modules/*
).sleep 500
to the build step, I was able to see the full logs in the Netlify deploy console, and it looks like it's succeeding.I've contacted Netlify support to see if there's a better way we can increase the timeout duration as a short term fix.
Long term, we've discussed moving the website release scripts into this repo in the past, and doing so could allow us to build ESLint as part of the release script and commit it into this repo for reuse. This potentially makes the bundle bigger in the future (when shipping ESM packages is more common and Webpack can do more effective tree-shaking), but I don't think has much effect now.I'm not seeing the bundling step take so long after updating dependencies, but I'm still seeing failures. Will keep digging.
The text was updated successfully, but these errors were encountered: