Don't bundle react-native dependencies
Summary: Make sure that `.native.js` modules resolutions are _NOT_ prefered over `.js` modules when building flipper or flipper plugins Reviewed By: jknoxville Differential Revision: D18297580 fbshipit-source-id: 73f9114d19eb0934cdf69d9668b582966aedc756
This commit is contained in:
committed by
Facebook Github Bot
parent
71573257ae
commit
6e69d20917
@@ -45,8 +45,7 @@ import {persistReducer} from 'redux-persist';
|
||||
import {PersistPartial} from 'redux-persist/es/persistReducer';
|
||||
|
||||
import {Store as ReduxStore, MiddlewareAPI as ReduxMiddlewareAPI} from 'redux';
|
||||
// @ts-ignore: explicitly need to import index.js, otherwise index.native.js is imported, because redux-persist assumes we are react-native, because we are using metro-bundler
|
||||
import storage from 'redux-persist/lib/storage/index.js';
|
||||
import storage from 'redux-persist/lib/storage';
|
||||
|
||||
export type Actions =
|
||||
| ApplicationAction
|
||||
|
||||
Reference in New Issue
Block a user