21 lines
991 B
JavaScript
21 lines
991 B
JavaScript
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('valtio/vanilla/utils'), require('valtio/react/utils')) :
|
|
typeof define === 'function' && define.amd ? define(['exports', 'valtio/vanilla/utils', 'valtio/react/utils'], factory) :
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.valtioUtils = {}, global.valtioVanillaUtils, global.valtioReactUtils));
|
|
})(this, (function (exports, utils, utils$1) { 'use strict';
|
|
|
|
Object.keys(utils).forEach(function (k) {
|
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
enumerable: true,
|
|
get: function () { return utils[k]; }
|
|
});
|
|
});
|
|
Object.keys(utils$1).forEach(function (k) {
|
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
enumerable: true,
|
|
get: function () { return utils$1[k]; }
|
|
});
|
|
});
|
|
|
|
}));
|