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

Use metro & babel config to run example without library packing #778

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

mfazekas
Copy link
Contributor

@mfazekas mfazekas commented Apr 5, 2020

Add metro and babel magic to avoid packing rnmbgl when running the example. This means that source code can be edited on place, without editing a copy then using some means to sync it(wml sync, symlink etc)

Method copied from react-native-reanimated, the downside is that RNMBGL deps had to be added to example and babel.config too.

@mfazekas mfazekas force-pushed the no-pack-in-example branch 2 times, most recently from 4e78eb9 to 31e50f9 Compare April 5, 2020 14:00
@mattijsf
Copy link
Member

mattijsf commented Apr 5, 2020

This is great stuff! Also, man I love your commitment to this library... Wish I could do more but I don't have the time.

This PR should fix some common hurdless when contributing & switching branches 👌 My experience is that stuff kept getting out of sync, especially with generated code.

@mfazekas mfazekas merged commit 1faa9b7 into rnmapbox:master Apr 6, 2020
@ferdicus
Copy link
Member

ferdicus commented Apr 6, 2020

Also, man I love your commitment to this library...

Let me just second that - thanks for going the extra mile Miklós 🙏

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