isomorphic.browser.js 723 B

12345678910111213141516171819
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.addInspectMethod = exports.format = void 0;
  4. /**
  5. * Ono supports custom formatters for error messages. In Node.js, it defaults
  6. * to the `util.format()` function. In browsers, it defaults to `Array.join()`.
  7. *
  8. * The Node.js functionality can be used in a web browser via a polyfill,
  9. * such as "format-util".
  10. *
  11. * @see https://github.com/tmpfs/format-util
  12. */
  13. exports.format = false;
  14. /**
  15. * The `util.inspect()` functionality only applies to Node.js.
  16. * We return the constant `false` here so that the Node-specific code gets removed by tree-shaking.
  17. */
  18. exports.addInspectMethod = false;
  19. //# sourceMappingURL=isomorphic.browser.js.map