webpack-cli just added it and saw substantial speedups
Easy to add — just require it https://github.com/webpack/webpack-cli/commit/0564ceb77a995239d0be7a022b948cbd727773a4
I can do?
@pwener would love a PR! Please test the bootstrap times with and without the compile cache.
Hello, where you think would be the best place to put this? I've try with gatsby/packages/gatsby/src/bin/gatsby.js but the bootstrap times decreased little.
It might not have much effect. Try adding a process.exit() right after the require and measure the time to their with and without the require.
The results were good, can you evaluate my PR?
PR merged 💯