Add plupload to npm
Can you add plupload to npm packages also, it's very helpful.
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
Plupload on NPM now: https://www.npmjs.com/package/plupload.
I must confess I didn't realize properly that this was a big deal. Sorry guys.
Module not found: Error: Can't resolve 'plupload'
import plupload from 'plupload'
// Module not found: error: Can't resolve 'plupload'
Then:
import plupload from 'plupload/src/plupload'
// build pass, but in the browser console: moxie is not defined
@suhaotian I think it should correspond to file name, so when you import specify either: plupload.dev, plupload.min or plupload.full.min.
Also you should only include built versions from under js/ folder, in src/, there's raw source only.
@jayarjo Did you test it in webpack ?
@suhaotian yes, but I tested it with require. Didn't do any Babel.
@cocody how do you include it and what kind of post-processing you do on js files after?