2021-07-06 20:39:33 -04:00
|
|
|
// We need a custom build of Uppy because we do not use webpack for
|
|
|
|
// our JS modules/build. The only way to get what you want from Uppy
|
|
|
|
// is to use the webpack modules or to include the entire Uppy project
|
|
|
|
// including all plugins in a single JS file. This way we can just
|
|
|
|
// use the plugins we actually want.
|
|
|
|
window.Uppy = {}
|
|
|
|
Uppy.Core = require('@uppy/core')
|
|
|
|
Uppy.XHRUpload = require('@uppy/xhr-upload')
|
|
|
|
Uppy.AwsS3 = require('@uppy/aws-s3')
|
|
|
|
Uppy.AwsS3Multipart = require('@uppy/aws-s3-multipart')
|
2021-07-12 22:22:00 -04:00
|
|
|
Uppy.DropTarget = require('@uppy/drop-target')
|
2021-11-22 17:45:42 -05:00
|
|
|
Uppy.Utils = {
|
|
|
|
delay: require('@uppy/utils/lib/delay'),
|
|
|
|
EventTracker: require('@uppy/utils/lib/EventTracker'),
|
|
|
|
AbortControllerLib: require('@uppy/utils/lib/AbortController')
|
|
|
|
}
|