Skip to content

fix: add .web.jsx extension support in react-native-web example #32076

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

Merged
merged 2 commits into from
Dec 16, 2021

Conversation

intergalacticspacehighway
Copy link
Contributor

Bug

  • Currently, RNW (react native web) template doesn't support .web.jsx extension. Checkout the screenshot below, where it throws error on importing a file where extension is .web.jsx.

Screenshot 2021-12-03 at 10 34 40 AM

Documentation / Examples

  • Make sure the linting passes by running yarn lint

I think the change is very simple, so I have modified the issue template 😅. Let me know if anything is missing!

After this change

  • The import works!

Screenshot 2021-12-03 at 10 38 48 AM

@ijjk ijjk added the examples Issue was opened via the examples template. label Dec 3, 2021
@ijjk ijjk changed the title fix: add .web.jsx extension support fix: add .web.jsx extension support in react-native-web example Dec 16, 2021
Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@ijjk ijjk merged commit 12597f2 into vercel:canary Dec 16, 2021
@intergalacticspacehighway intergalacticspacehighway deleted the fix/RNW-jsx-ext branch December 16, 2021 10:10
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue was opened via the examples template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy