For Workers & Pages, what is the name of the domain?
N/A
What is the issue or error you’re encountering
Since v1.2, bun
creates its lock file as a text-based file (bun.lock) instead of the previous binary format (bun.lockb). When creating a new Cloudflare Pages project, the new bun.lock is not being detected and as such, bun is not detected as tool for this project. This means that instead of running bun install ...
, it runs npm install ...
which makes the build process significantly slower.
What are the steps to reproduce the issue?
- Create a bun project using bun >= 1.2, check it generates the new lock file:
bun.lock
- Deploy it as a Cloudflare Page.
- Check the deployment logs, it won’t use bun to install the projects dependencies. It will use npm instead.