Update build logic

This commit is contained in:
Nick Gerleman
2022-12-22 03:06:42 -08:00
parent bf3af7eb90
commit d2effccfee
35 changed files with 1379 additions and 1874 deletions

View File

@@ -15,7 +15,7 @@ import type {
Yoga$Wrap,
Yoga$Align,
Yoga$FlexDirection,
Yoga$Gap,
Yoga$Gutter,
Yoga$Direction,
Yoga$PositionType,
Yoga$Overflow,

View File

@@ -0,0 +1,17 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
const entry = require('./entry');
const yoga = require('./asm');
module.exports = entry(yoga());
export type * from './YGEnums.js';
export type * from './entry';

View File

@@ -1,32 +0,0 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
const entry = require('./entry');
const yoga = require('./asm');
// $FlowFixMe ret will not be null here
module.exports = entry(yoga());
export type {
Yoga$Justify,
Yoga$Align,
Yoga$FlexDirection,
Yoga$Direction,
Yoga$Wrap,
Yoga$Gutter,
Yoga$Edge,
Yoga$Display,
Yoga$Unit,
Yoga$Overflow,
Yoga$PositionType,
Yoga$ExperimentalFeature,
} from './YGEnums.js';
export type {Yoga$Node, Yoga$Config} from './entry';

View File

@@ -0,0 +1,17 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
const entry = require('./entry');
const yoga = require('./wasm');
module.exports = entry(yoga());
export type * from './YGEnums.js';
export type * from './entry';