mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 17:22:45 +08:00
Update argument passed for assetRoots.
Summary: Fixes #4388 Closes https://github.com/facebook/react-native/pull/4431 Reviewed By: svcscm Differential Revision: D2704076 Pulled By: mkonicek fb-gh-sync-id: 2b788eb15787334bf7309fde730566092ff63832
This commit is contained in:
committed by
facebook-github-bot-4
parent
5dc40afbf6
commit
802aef9509
@@ -79,7 +79,7 @@ function _server(argv, config, resolve, reject) {
|
||||
}
|
||||
|
||||
args.assetRoots = args.assetRoots
|
||||
? argToArray(args.projectRoots).map(dir =>
|
||||
? argToArray(args.assetRoots).map(dir =>
|
||||
path.resolve(process.cwd(), dir)
|
||||
)
|
||||
: config.getAssetRoots();
|
||||
|
||||
Reference in New Issue
Block a user