Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo: Use Metro bundler for the web target example #7024

Open
jay-jlm opened this issue Jan 17, 2024 · 3 comments
Open

Expo: Use Metro bundler for the web target example #7024

jay-jlm opened this issue Jan 17, 2024 · 3 comments
Labels
area: examples Improvements or additions to examples good first issue Good for newcomers owned-by: turborepo

Comments

@jay-jlm
Copy link

jay-jlm commented Jan 17, 2024

Which project is this feature idea for?

Turborepo

Describe the feature you'd like to request

Currently running npx create-turbo@latest -e with-react-native-web I end up with Expo 49 and "@expo/webpack-config" as dependencies in package.json

Describe the solution you'd like

Expo SDK 50 is moving away from webpack and adopting Metro as the preferred bundler for the web target.
The expo web target example should be updated to include these recent developments.
Migration information is provided here: https://docs.expo.dev/router/migrate/from-expo-webpack/

Describe alternatives you've considered

Update current example or provide a new one with the updated configuration.

@jay-jlm jay-jlm added needs: triage New issues get this label. Remove it after triage story labels Jan 17, 2024
@anthonyshew anthonyshew added area: examples Improvements or additions to examples good first issue Good for newcomers and removed story needs: triage New issues get this label. Remove it after triage labels Jan 17, 2024
@anthonyshew
Copy link
Contributor

I'll have to admit that I don't have much expertise with react-native's ecosystem.

If you (or anyone!) can create a PR for this, I'd be happy to review!

@jay-jlm
Copy link
Author

jay-jlm commented Jan 17, 2024

Thanks @anthonyshew , I just edited the issue to include information on how to migrate to their new system.
I haven't had the need to use the web target before but I will be happy to provide a PR if end up working on this feature in the coming days.

@jay-jlm jay-jlm changed the title Use metro as a bundler in the examples for web target Expo: Use metro as a bundler for the web target example Jan 17, 2024
@jay-jlm jay-jlm changed the title Expo: Use metro as a bundler for the web target example Expo: Use Metro bundler for the web target example Jan 17, 2024
@codeogc
Copy link

codeogc commented Apr 24, 2024

Hi, is this gonna be solved? Have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: examples Improvements or additions to examples good first issue Good for newcomers owned-by: turborepo
Projects
None yet
Development

No branches or pull requests

4 participants