Created
November 8, 2024 20:40
-
-
Save felippewick/313b2f94dc2b536fea11e55559f87315 to your computer and use it in GitHub Desktop.
Deploying expo web on amplify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 1.0 | |
frontend: | |
phases: | |
preBuild: | |
commands: | |
- yarn global add expo-cli | |
- npm install --quiet --global pnpm | |
- pnpm install | |
build: | |
commands: | |
- APP_ENV=${APP_ENV} | |
- npx expo export -p web | |
artifacts: | |
baseDirectory: dist | |
files: | |
- '**/*' | |
cache: | |
paths: | |
- node_modules/**/* | |
- $(npm root --global)/**/* | |
- $(pnpm store path)/**/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment