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