import jquery in js webpack code example Example: import jquery webpack import $ from 'jquery'; $('.my-element').animate(/* ... */);