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
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
import React, {Component} from 'react';
|
||||
import yoga, {Node} from 'yoga-layout';
|
||||
import yoga, {Node} from 'yoga-layout/dist/entry-browser';
|
||||
import PositionGuide from './PositionGuide';
|
||||
import PositionRecord from './PositionRecord';
|
||||
import type {LayoutRecordT} from './LayoutRecord';
|
||||
|
Reference in New Issue
Block a user