index.js 962 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.Uppy = exports.UIPlugin = exports.BasePlugin = void 0;
  6. Object.defineProperty(exports, "debugLogger", {
  7. enumerable: true,
  8. get: function () {
  9. return _loggers.debugLogger;
  10. }
  11. });
  12. var _loggers = require("./loggers.js");
  13. module.exports = require('./Uppy.js');
  14. const _0 = require("./UIPlugin.js");
  15. exports.UIPlugin = _0;
  16. const _1 = require("./BasePlugin.js");
  17. exports.BasePlugin = _1;
  18. // TODO: remove all the following in the next major
  19. /* eslint-disable import/first */
  20. const Uppy = require("./Uppy.js");
  21. exports.Uppy = Uppy;
  22. const UIPlugin = require("./UIPlugin.js");
  23. const BasePlugin = require("./BasePlugin.js");
  24. // Backward compatibility: we want those to keep being accessible as static
  25. // properties of `Uppy` to avoid a breaking change.
  26. Uppy.Uppy = Uppy;
  27. Uppy.UIPlugin = UIPlugin;
  28. Uppy.BasePlugin = BasePlugin;
  29. Uppy.debugLogger = _loggers.debugLogger;