rniemeyer / knockout-jqAutocomplete

knockout-jqAutocomplete is a Knockout.js plugin designed to work with jQuery UI's autocomplete widget.
MIT License
49 stars 20 forks source link

how to use this with webpack and npm? #38

Open gregveres opened 6 years ago

gregveres commented 6 years ago

I am trying to migrate to webpack and npm. When I have this as required from one of my modules (I am using typescript, but I don't think that matters), the bundler complains.

ERROR in ./node_modules/knockout-jqautocomplete/build/knockout-jqAutocomplete.js
Module not found: Error: Can't resolve 'jquery-ui/autocomplete' in 'C:\Users\gregv\Source\Repos\SquashSpider\SquashSpider\SquashSpider\node_modules\knockout-jqautocomplete\build'
 @ ./node_modules/knockout-jqautocomplete/build/knockout-jqAutocomplete.js 5:8-73

does anybody know how to configure webpack to allow jqautomcomplete to include jquery-ui/autocomplete? I have jquery-ui installed with npm