fix Yoga imports for build script
Summary: The bundling of gatsby is done in node. This caused the node-libs from yoga being loaded. This directly imports the browser version. Reviewed By: emilsjolander Differential Revision: D6975779 fbshipit-source-id: 0257a86733c5552259b171309e59cc676786621e
This commit is contained in:
committed by
Facebook Github Bot
parent
c830083df3
commit
a3144150e0
@@ -10,7 +10,7 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import yoga from 'yoga-layout';
|
||||
import yoga from 'yoga-layout/dist/entry-browser';
|
||||
import LayoutRecord from './LayoutRecord';
|
||||
import PositionRecord from './PositionRecord';
|
||||
import {JSEnumLookup} from './CodeJavaScript';
|
||||
|
Reference in New Issue
Block a user