I use numeral.js in both the viewmodels and sometimes in the html of my knockout components.
<div data-bind="text: numeral(totalCurrent()).format('$0,0.00')"></div>
I am using webpack to package my html and js together which seem to work great, however now I get the error 'numeral is not defined' if I try to use numeral in the html markup as shown above.
Numeral works as expected in the viewmodel js just fine.
Any ideas on how I might fix this??