I have an Aurelia Application built with NPM\Gulp that has been working perfectly. I recently did an NPM update which upgraded all the components including DropZone.
Dropzone apparently changed it’s build to use WebPack and now Aurelia sees DropZone’s New() Constructor as a Module instead of a function resulting in error " Dropzone is not a constructor"
See some screen shots
Interestingly, I also had a similar problem integrating PDFjs; Also built with WebPack… which I gave up on…
Any Suggestions on how to Require a WebPack component?
I am using TS and I didnt work
error TS1192: Module ‘“dropzone”’ has no default export.
I also tried
foo = new Dropzone.dropzone(el., options) in upper and lower case with no success
I’ve always used the AMD build of Dropzone but this new version might just be broke from the author
I don’t think I have any other dependencies that are built with webpack and didn’t know if there where any known integration issues with Aurela.