mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
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:
parent
160578624a
commit
c20e0f94fe
13
RNTester/js/ToolbarAndroidExample.ios.js
Normal file
13
RNTester/js/ToolbarAndroidExample.ios.js
Normal 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');
|
Loading…
x
Reference in New Issue
Block a user