惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
IT之家
IT之家
博客园 - 【当耐特】
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
MyScale Blog
MyScale Blog
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Hugging Face - Blog
Hugging Face - Blog
I
InfoQ
B
Blog RSS Feed
腾讯CDC
云风的 BLOG
云风的 BLOG
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
雷峰网
雷峰网
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
DataBreaches.Net
The Cloudflare Blog
V
V2EX
S
SegmentFault 最新的问题

Netlify Changelog

Gemini 3.5 Flash now available in Agent Runners 4 Nuxt CVEs: what Netlify users need to know Gemini 3.5 Flash now available in AI Gateway Agent Runners workflow improvements Next.js & React security release (May 2026): what to know Block project transfers out of your team Gemini 3.1 Flash-Lite now available in AI Gateway OpenAI GPT-5.5 Instant now available in AI Gateway New `netlify logs` CLI command Deploy to Netlify with Stripe Projects Netlify Database is now generally available OpenAI GPT-5.5 and GPT-5.5 Pro in AI Gateway & Agent Runners Rename an agent run GPT Image 2 now available in AI Gateway New frontend-design skill for Agent Runners Claude Opus 4.7 now available in AI Gateway and Agent Runners Pricing updates for Credit-based plans New sorting and filter controls on the Members page Netlify Database GA coming soon, no new databases for now Deploy logs streaming is now faster Netlify CLI adds prompt-based creation and anonymous deploys Deploy from Codex with the Netlify Plugin Hydrogen with React Router 7 now supported on Netlify Monitor credit usage by day Invoices for Enterprise Available on the Billing Page AI app development on production infrastructure with Netlify Introducing Prompt Templates OpenAI GPT-5.4 Nano and GPT-5.4 Mini in AI Gateway Change your pricing plan Internal Builder Role & Project Access Controls
Netlify Bun support in Builds
Nahrin Jalal · 2023-10-26 · via Netlify Changelog

At Netlify we believe that stability and reliability don’t necessarily need to conflict with one’s ability to experiment with new technologies. We’re confident the same applies to the tooling we all use and, as such, it’s our job as the platform of choice for web development to ensure our customers have access to ways they can safely experiment with new tools that could bring added value to their development process. We want to make sure Netlify is the right oven for any kind of project and team, hence why we’re excited to announce Netlify Builds now have out of the box (or should we say out of the oven?) support for Bun.

Runtime? Package Manager?

Bun is an all-in-one toolkit for JavaScript and TypeScript apps. It offers not only a JS runtime but also package manager capabilities. We want to make sure our customers have the ability to leverage the best of the tool without too much setup hassle, so our support comes in two fronts.

  • Just as we do for other JS runtimes such as Node.js and Deno we now expose the bun executable at build time so that folks can run their build commands using bun runtime if they choose to.
  • Install and setup of JS dependencies by automatically detecting the presence of a Bun lockfile (bun.lockb) and using bun install when building a project in our platform.

How to use Bun with Netlify

You can start using bun runtime right away by using the bun executable in your build command. Either through your netlify.toml:

[build]

command = "bun run build"

Or by editing your build command in the configuration UI.

To leverage Bun’s package manager capabilities you can do so by running bun install locally in your project. This will generate a bun.lockb file you should commit and push to your project (more details on Bun’s lockfile can be found in their docs). When Netlify Build detects the presence of this file in your repository we’ll run bun install instead of npm (our default package manager). It’s that simple!

⚠️ Make sure you have no other lockfiles (package-lock.json, yarn.lock or pnpm-lock.yaml) in your repo and no packageManager option set in your package.json since we’ll be favouring those tools by default.

Check our docs for further information on how to configure Bun’s package manager capabilities in Netlify.

Try it out and let us know!

We would love to hear about your experience through our support portal or our community forum. We deeply value your feedback and we’re always keen on hearing back from our amazing community.