Try to build docs(about 1000 .md) by vuepess and vitepress
# first try vuepress
npm run build:vupress
# then try vitepress
npm run build:vitepress
- You will see how much longer the
Vuepress
will take, in my Macbook Pro 2022 with M2
In my Macbook Pro 2022 with M2,VuePress: 13mins+
vsVitePress:60-70s
Vuepress
also use much much more memory thenVitepress
It has to build withNODE_OPTIONS=--max_old_space_size=20480
, otherwise node process will exit by JavaScript heap out of memory