InstantSplit/node_modules/valtio/umd/index.development.js
2025-06-21 23:30:33 +03:00

21 lines
952 B
JavaScript

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('valtio/vanilla'), require('valtio/react')) :
typeof define === 'function' && define.amd ? define(['exports', 'valtio/vanilla', 'valtio/react'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.valtio = {}, global.valtioVanilla, global.valtioReact));
})(this, (function (exports, vanilla, react) { 'use strict';
Object.keys(vanilla).forEach(function (k) {
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return vanilla[k]; }
});
});
Object.keys(react).forEach(function (k) {
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return react[k]; }
});
});
}));