uppy/packages/@uppy/dropbox
Renée Kooi fb053444f1 pin preact to 8.2.9 (#1513)
Webpack likes to pick the ES module versions of modules over CJS
versions. So, if we do `require('preact')`, we can get the ES module
version of it. preact in version 8.3.0 switched its file extension
from `.esm.js` to `.mjs`, which in webpack's default configuration meant
the module implementation became much stricter. The result is that we
get a different value in `require('preact')`.

This older version of preact doesn't use `.mjs` yet so we can safely
`require('preact')` it in webpack. It still picks the ESM version, but
now it uses the looser implementation which is interchangeable for our
purposes.
2019-05-01 15:06:44 +02:00
..
src rename serverUrl to companionUrl 2019-04-14 13:53:50 +01:00
types rename serverUrl to companionUrl 2019-04-14 13:53:50 +01:00
LICENSE Move Dropbox plugin to @uppy/dropbox 2018-06-14 21:29:13 -04:00
package.json pin preact to 8.2.9 (#1513) 2019-05-01 15:06:44 +02:00
README.md docs: update webpack homepage URLs 2019-03-04 13:43:37 +01:00

@uppy/dropbox

Uppy logo: a superman puppy in a pink suit

Build Status

A description of this plugin or module goes here.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

const Uppy = require('@uppy/core')
const Dropbox = require('@uppy/dropbox')

const uppy = Uppy()
uppy.use(Dropbox, {
  // Options
})

Installation

$ npm install @uppy/dropbox --save

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.