X 归档 2025-08-30
▲ @Vercel Streamdown 1.1 by is out!
Featuring some awesome updates and community contributions 👇
Featuring some awesome updates and community contributions 👇
▲ @Vercel Streamdown 1.1 发布!
带来一些超棒的更新和社区贡献 👇
带来一些超棒的更新和社区贡献 👇
🪄 bun natively supports macros
run a function at build time and inline its return. only the result gets bundled, not the function!
✦ precompute constants
✦ inline env, platform, version values
✦ fetch at build time (async supported)
✦ … many other small build-time tasks!
run a function at build time and inline its return. only the result gets bundled, not the function!
✦ precompute constants
✦ inline env, platform, version values
✦ fetch at build time (async supported)
✦ … many other small build-time tasks!
🪄 bun 原生支持宏
在构建时运行函数并内联其返回值。只有结果会被打包,函数本身不会!
✦ 预计算常量
✦ 内联环境变量、平台、版本号等值
✦ 构建时请求数据(支持异步)
✦ ……许多其他构建期小任务!
在构建时运行函数并内联其返回值。只有结果会被打包,函数本身不会!
✦ 预计算常量
✦ 内联环境变量、平台、版本号等值
✦ 构建时请求数据(支持异步)
✦ ……许多其他构建期小任务!


