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

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

参见 bun install。