UNPKG

984 BJavaScriptView Raw
1(function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jotai/vanilla/utils'), require('jotai/react/utils')) :
3 typeof define === 'function' && define.amd ? define(['exports', 'jotai/vanilla/utils', 'jotai/react/utils'], factory) :
4 (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jotaiUtils = {}, global.jotaiVanillaUtils, global.jotaiReactUtils));
5})(this, (function (exports, utils, utils$1) { 'use strict';
6
7 Object.keys(utils).forEach(function (k) {
8 if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9 enumerable: true,
10 get: function () { return utils[k]; }
11 });
12 });
13 Object.keys(utils$1).forEach(function (k) {
14 if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
15 enumerable: true,
16 get: function () { return utils$1[k]; }
17 });
18 });
19
20}));