forked from necolas/react-native-web
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e0d2c8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious what you were doing that led you to add
AssetRegistry
:)e0d2c8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. I've been experimenting with using metro-bundler, which uses
AssetRegistry
to keep track of assets in a couple places, instead of webpack.I have a local fork of it as that uses the haste-style imports instead of the ones I linked above though; I was having trouble injecting module subdirectories via extraNodeModules. I could probably just punch a hole in my packager blacklist to let
react-native
's through instead though.e0d2c8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. Haul uses it too. It's on the to-do list (see necolas#237 ...although perhaps a Babel plugin would be better to share across bundlers)