Hacker News new | ask | show | jobs
by esperent 1423 days ago
> Building a Vue app on my Windows laptop (i7-9750H 64GB RAM) takes ~35s in WSL

I would look into improving your build before buying new hardware. I'm not at all familiar with Vue but I have been working on a large monorepo based on NW which contains 5 large Angular projects and one large React project (not my choice to combine them).

The initial build probably take 20s but subsequent changes take <1s to the point that HMR feels instant. My laptop specs are similar to yours except only 16gb ram. This is a large Typescript project so I cannot understand what kind of monster would take 32s for incremental builds. There's probably some major improvements to be gained by updating the build (e.g. switch to ESBuild).

1 comments

Thanks, I didn't know about esbuild. I do not look forward to trying a different build system, but might be worth it.