Skip to content

Conversation

@Nemikolh
Copy link
Member

This seems to fix issues that people are running into where the CLI crashes saying window is undefined.

@Nemikolh Nemikolh requested review from Aslemammad and d3lm February 13, 2025 13:21
"web": {
"bundler": "metro",
"output": "static",
"output": "single",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the deployment to Netlify still work with this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it does. With this the behaviour is:

single outputs a Single Page Application (SPA), with a single index.html in the output folder, and has no statically indexable HTML

(docs: https://docs.expo.dev/versions/latest/config/app/#output)

@Nemikolh Nemikolh requested a review from d3lm February 13, 2025 13:26
@d3lm d3lm merged commit 26d4664 into main Feb 13, 2025
2 checks passed
@d3lm d3lm deleted the joan/expo-set-output-to-single branch February 13, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants