I'm using webpack to handle my js task. Now I import stellajs in my main script by this:
import $ from 'jquery';
require('imports?define=>false!./jquery.stellar');
Or
import $ from 'jquery';
import './jquery.stellar';
But I always got
Uncaught TypeError: (0 , _jquery2.default)(...).stellar is not a function
How can I use jquery stella in webpack. Thank you!