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
@@ -14,7 +14,7 @@ import {Record, List} from 'immutable';
|
||||
import type {RecordOf} from 'immutable';
|
||||
import PositionRecord from './PositionRecord';
|
||||
import type {PositionRecordT} from './PositionRecord';
|
||||
import yoga from 'yoga-layout';
|
||||
import yoga from 'yoga-layout/dist/entry-browser';
|
||||
|
||||
import type {
|
||||
Yoga$Align,
|
||||
|
Reference in New Issue
Block a user