@jiujue/react-canvas-fiber 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,8 +5,12 @@ import { FlexDirection, Align, Direction, loadYoga, MeasureMode, Edge, Justify,
|
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
var require$1 = (name) => {
|
|
8
|
-
if (name === 'react')
|
|
9
|
-
|
|
8
|
+
if (name === 'react') {
|
|
9
|
+
if (React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) return React;
|
|
10
|
+
if (React.default && React.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) return React.default;
|
|
11
|
+
return Object.assign({}, React, React.default);
|
|
12
|
+
}
|
|
13
|
+
if (name === 'react-dom') return (ReactDOM.default || ReactDOM);
|
|
10
14
|
throw new Error('Dynamic require of "' + name + '" is not supported');
|
|
11
15
|
};
|
|
12
16
|
var __create = Object.create;
|