Using bun with astro hero

Using bun with astro

Live ยท 02:40:22

Experimenting with the new bun runtime with the astro framework.

Note: I ultimately didnโ€™t deploy Astro with bun because of bunโ€™s current limitations. You can watch the stream to see me work through the issues, or read the highlights below.

Highlights

  • Bun is fast! Install times are significantly faster
  • Sharp isnโ€™t supported by bun yet, so I had back to Squoosh to get images working
  • Netlify canโ€™t build, there seems to be something wrong with how dependencies are installed
  • Vercel can build, but the View Transitions API doesnโ€™t work on the deployed site

Resources

Sign-Up for New Posts

Stay in the loop and get the latest blog posts about Development sent to your inbox.

Or use the

RSS Feed