This file provides guidance for working with the eas-build-cache-provider package.
A build cache provider plugin for Expo CLI. Published as eas-build-cache-provider on npm.
- Provides remote caching for Expo builds
- Optimizes build times by caching intermediate build artifacts
- Integrates with EAS infrastructure
yarn build # TypeScript compilation (src → build)
yarn watch # Watch mode
yarn typecheck # Type check
yarn test # Run testsInstall as a dev dependency in your Expo project:
npm install --save-dev eas-build-cache-provider
# or
yarn add --dev eas-build-cache-providerUpdate your app.json to enable the EAS build cache provider:
{
"expo": {
"experiments": {
"buildCacheProvider": "eas"
}
}
}The build cache provider:
- Hooks into Expo CLI's build process
- Uploads build cache artifacts to EAS infrastructure
- Downloads cached artifacts on subsequent builds
- Improves build times by reusing cached dependencies and build outputs
- Experimental: This is an experimental feature
- EAS Integration: Requires EAS account and project setup
- Cache Scope: Cache is scoped per project and platform