isomorphic.browser.js 604 B

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