---
title: "Bun v0.1.11"
description: "Bun v0.1.11 adds a runtime plugin API, loosely modeled on esbuild's, that lets code import file types Bun has no built-in loader for (such as .svelte, .vue, .yaml, .mdx) and dynamically generate ESM/CJS modules, with examples for MDX and YAML loaders."
url: "https://swe.quest/articles/bun-v0-1-11-608f71de932fd530"
canonical: "https://bun.com/blog/bun-v0.1.11"
source: "Bun"
published: "2022-09-07"
difficulty: "medium"
kind: "Release"
reading_minutes: 4
tags: ["javascript","runtimes"]
---

# Bun v0.1.11

A post on [Bun](https://swe.quest/sources/bun.md), published 2022-09-07, 4 min read, Release. Original: [https://bun.com/blog/bun-v0.1.11](https://bun.com/blog/bun-v0.1.11)

## Summary

Bun v0.1.11 adds a runtime plugin API, loosely modeled on esbuild's, that lets code import file types Bun has no built-in loader for (such as .svelte, .vue, .yaml, .mdx) and dynamically generate ESM/CJS modules, with examples for MDX and YAML loaders. The release also expands Node compatibility with a native os module, EventEmitter, StringDecoder, Buffer methods and N-API fixes. On macOS, the event loop moves to a more reliable polling mechanism that cuts setTimeout CPU usage from 90% to 33% and fixes fetch race-condition hangs, and React SSR runs about 2x faster.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)

## Prerequisites

- JavaScript module systems ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- Node.js APIs ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Bun, esbuild, N-API, MDX, EventEmitter, bun:ffi

## Related posts

- [The Bun Bundler](https://swe.quest/articles/the-bun-bundler-1ad40102ca8fa3b8.md): Bun · 2023-05-16 · Medium · 10 min read · JavaScript, Build systems, Developer tools, Web performance
  Bun now ships a native bundler in beta, exposed as the \`bun build\` CLI and the \`Bun.build()\` JavaScript API.
- [Bun v0.6.10](https://swe.quest/articles/bun-v0-6-10-c9f67c1760f76c0a.md): Bun · 2023-06-26 · Medium · 8 min read · JavaScript, Runtimes & VMs, Testing, Build systems
  Bun v0.6.10 rewrites CommonJS module loading for better Node.js compatibility.
- [Bun v1.0.12](https://swe.quest/articles/bun-v1-0-12-7e77f90bbca6622e.md): Bun · 2023-11-16 · Medium · 12 min read · JavaScript, Runtimes & VMs, Testing, Developer tools
  Bun v1.0.12 fixes 24 bugs and adds \`bun -e\` for evaluating inline scripts (with TypeScript, JSX and top-level await), \`--env-file\` for choosing which .env files to load, \`server.url\`, \`import.meta.env\`, and \`expect.unreachable()\` in bun:test.
- [Bun v1.3.1](https://swe.quest/articles/bun-v1-3-1-ee365f019ab94793.md): Bun · 2025-10-22 · Medium · 9 min read · JavaScript, Runtimes & VMs, Build systems, Testing, Developer tools
  Bun v1.3.1 makes \`bun build\` up to 2x faster for symlink-heavy projects (isolated linker, pnpm).
- [Bun v0.6.5](https://swe.quest/articles/bun-v0-6-5-84c0b0fc152a661a.md): Bun · 2023-05-29 · Medium · 4 min read · JavaScript, Runtimes & VMs, Build systems
  Bun reimplements CommonJS as native runtime support instead of transpiler-only wrapping.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
