Como usar o blueimp-file-upload com o webpack?

Estou usando o blueimp-file-upload no meu site e estou usando o webpack para organizar meu código js.

Instalei o blueimp-file-upload e o jquery.ui.widget do NPM

npm install --save blueimp-file-upload
npm install --save jquery.ui.widget

e eu preciso de blueimp-file-upload no meu arquivo de entrada

require('blueimp-file-upload')

mas quando executo o webpack, recebo o erro:

ERROR in ./~/blueimp-file-upload/js/jquery.fileupload.js
Module not found: Error: Cannot resolve module 'jquery.ui.widget' in E:\app-parent\cooka-common-web\src\main\resources\static\node_modules\blueimp-file-upload\js
@ ./~/blueimp-file-upload/js/jquery.fileupload.js 19:8-22:19 

questionAnswers(9)

yourAnswerToTheQuestion