plupload icon indicating copy to clipboard operation
plupload copied to clipboard

Add plupload to npm

Open damnedest opened this issue 10 years ago • 22 comments

Can you add plupload to npm packages also, it's very helpful.

damnedest avatar Dec 22 '15 20:12 damnedest

+1

Cweili avatar Dec 23 '15 08:12 Cweili

+1

ValorLin avatar Mar 08 '16 09:03 ValorLin

+1

soul4code avatar May 03 '16 19:05 soul4code

+1

Catlite91 avatar Jun 17 '16 09:06 Catlite91

+1

ghost avatar Jun 22 '16 06:06 ghost

+1

xingchenboy avatar Jun 22 '16 09:06 xingchenboy

+1

eman1986 avatar Jun 29 '16 19:06 eman1986

+1

PeakTai avatar Jul 09 '16 09:07 PeakTai

+1

suhaotian avatar Jul 19 '16 07:07 suhaotian

+1

janjon avatar Sep 19 '16 03:09 janjon

+1

nqdy666 avatar Sep 22 '16 09:09 nqdy666

+1

matt-paul avatar Sep 22 '16 10:09 matt-paul

Plupload on NPM now: https://www.npmjs.com/package/plupload.

jayarjo avatar Nov 14 '16 19:11 jayarjo

I must confess I didn't realize properly that this was a big deal. Sorry guys.

jayarjo avatar Nov 14 '16 19:11 jayarjo

Module not found: Error: Can't resolve 'plupload'

suhaotian avatar Nov 16 '16 01:11 suhaotian

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 avatar Nov 16 '16 01:11 suhaotian

@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 avatar Nov 16 '16 06:11 jayarjo

@jayarjo Did you test it in webpack ?

suhaotian avatar Nov 17 '16 00:11 suhaotian

@suhaotian yes, but I tested it with require. Didn't do any Babel.

jayarjo avatar Nov 22 '16 08:11 jayarjo

@cocody how do you include it and what kind of post-processing you do on js files after?

jayarjo avatar Nov 22 '16 08:11 jayarjo