use a jquery package into a webpack code example Example: import jquery webpack import $ from 'jquery'; $('.my-element').animate(/* ... */);