Skip to main content
默认 registry 是 registry.npmjs.org。在 bunfig.toml 中全局覆盖它。
bunfig.toml

你的 bunfig.toml 可以引用环境变量。无论 NODE_ENV 的值是什么,bun install 都会自动从 .env.local.env.production.env 中加载环境变量;它不会读取 .env.development.env.test。参见环境变量
bunfig.toml

参见 bun install