Using bun with astro hero

Using bun with astro

Development
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