jantimon / next-yak

a streamlined CSS-in-JS solution tailor-made for Next.js, seamlessly combining the expressive power of styled-components syntax with efficient build-time extraction and minimal runtime footprint, ensuring optimal performance and easy integration with existing atomic CSS frameworks like Tailwind CSS
https://yak.js.org
118 stars 4 forks source link

Move docs to next #157

Closed Mad-Kat closed 1 month ago

Mad-Kat commented 1 month ago

With #116 we ported basically all functionality from our babel plugin to the new swc plugin.

The playground was still only able to work with babel. After investigating the issue, it looks like swc doesn't work in the browser if we also need wasm plugins (related issue: https://github.com/swc-project/swc/discussions/3540).

So this PR moves the current documentation from vocs to fumadocs, which is itself a next.js application. This allows us to process the transformation on the server side with a simple next route handler.

codspeed-hq[bot] commented 1 month ago

CodSpeed Performance Report

Merging #157 will not alter performance

Comparing features/new-docs (7565b46) with main (581c645)

Summary

✅ 2 untouched benchmarks