Bun install --frozen-lockfile does not lock optional dependencies
When using Bun's --frozen-lockfile flag, the lockfile guarantees that direct and transitive dependencies are installed at the exact versions recorded in bun.lockb . However, the flag does not constrain how Bun handles optional dependencies listed in package.json . Depending on the target platform and the package’s optionalDependencies field, Bun may still re