I\'m using blueimp-file-upload in my website, and I\'m using webpack to organize my js code.
I installed blueimp-file-upload and jquery.ui.widget from NPM
You can add an alias to jquery.ui.widget's main file - it unfortunately doesn't specify one in its package.json, so webpack can't find it otherwise.
resolve: { alias: { "jquery.ui.widget": "node_modules/jquery.ui.widget/jquery.ui.widget.js" } },