github web-infra-dev/rspress v2.0.0-beta.4

latest releases: v2.0.3, v2.0.2, v2.0.1...
pre-release9 months ago

Highlights✨

Enable dev.lazyCompilation: true by default

related PR: #2123

1. startup instantly

startup time 50x↑ faster with lazyCompilation: true

before 3.80s↓

image

after 0.05s↑

image

2. When preload meets lazyCompilation magic, a magical chemical burst out

Rspress will preload the corresponding route when hovering over the link, then a magical chemical reaction bursts out between lazyCompilation and preload, enabling a seamless refresh experience.

What's Changed

New Features 🎉

  • feat: add localeRedirect: 'only-default-lang' support by @JounQin in #2125
  • feat!: enable dev.lazyCompilation: true by default by @SoonIter in #2123
  • feat: upgrade create-rspress to support npm create rspress@beta by @SoonIter in #2128

Bug Fixes 🐞

  • fix(plugin-llms): group routes correctly without locales config by @jbroma in #2116
  • fix(theme/dynamic-toc): should abandon all elements with display: none. by @SoonIter in #2119
  • fix: the pkg type error in moduleResolution: node16 by @SoonIter in #2127

Other Changes

Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4

Don't miss a new rspress release

NewReleases is sending notifications on new releases.