3 ms·
Very cool project. But two weeks to shave off 6 seconds of build time? I gotta wonder: https://xkcd.com/1205/ https://xkcd.com/1205/
by bjt 11y ago
Very cool project.
But two weeks to shave off 6 seconds of build time?
I gotta wonder: https://xkcd.com/1205/ https://xkcd.com/1205/
- dchuk 11y agoNot that it really matters, but his system added 6s of build time, not shaved it off
- snake_case 11y agoI'm hoping to drop the 9.5s to more like 4-5s. I don't think it can reach the speed of Jekyll since Babel is heavily used to convert the jsx to js at the start of the generation. If everyone wrote pure js React code, then the babel step would essentially be eliminated which should definitely be a config option. Dropping at least a second or two should be easy. My code is a beautiful mess right now, and I know there's so many parts I can improve, let alone also using the production version of React instead of the warning/error checking version. Also, when I say 2 weeks, I actually meant more like 40 hours over the course of 2 weeks. It's a side project :)