I'm trying to practice using ES6 syntax, and I wanted to try using ES6 with jQuery and Webpack. I read a StackOverflow post illustrating how, and down below there was a comment saying why not just do
import {$, jQuery} from 'jquery'
I tried, and I'm getting an error saying Uncaught TypeError: (0 , r.$) is not a function
. When I simply separate the two using two import statements, the error goes away. Any idea why? Is the one line import statement invalid? If so, how come?