workaround android-only js module resolution issue

Summary: for some reason metro was not able to find js module with just .android.js variant. To workaround some build issue, added an empty .ios.js variant

Reviewed By: mdvacca

Differential Revision: D7115360

fbshipit-source-id: 40b95cf2efc4d3d599f39b88813469b6d78e7b48
This commit is contained in:
Kevin Gozali 2018-02-28 19:27:07 -08:00 committed by Facebook Github Bot
parent 160578624a
commit c20e0f94fe
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule ToolbarAndroidExample
*/
'use strict';
// Not applicable to iOS.
module.exports = require('View');