Skip to content

Commit

Permalink
add patch for fixing metro
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkrives committed Sep 8, 2019
1 parent 49bd454 commit 0632b4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contrib/0002-rn-android-fix-issue-25325.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--- ./node_modules/metro/src/DeltaBundler/Serializers/getAssets.js
+++ ./node_modules/metro/src/DeltaBundler/Serializers/getAssets.js
66c66,67
< getJsOutput(module).type === "js/module/asset"
---
> getJsOutput(module).type === "js/module/asset" &&
> path.relative(options.projectRoot, module.path) !== "package.json"

0 comments on commit 0632b4e

Please sign in to comment.