Ecmascript 6 我如何让stellarjs使用webpack?

Ecmascript 6 我如何让stellarjs使用webpack?,ecmascript-6,webpack,stellar.js,Ecmascript 6,Webpack,Stellar.js,我正在使用webpack处理我的js任务。 现在,我通过以下方式在主脚本中导入: import$from'jquery' require('imports?define=>false!。/jquery.stellar') 或 import$from'jquery' import./jquery.stellar' 但我总是 未捕获的TypeError:(0,jquery2.default)(…)。stellar不是 作用 我如何在webpack中使用jquery stella。 谢谢大家!

我正在使用webpack处理我的js任务。 现在,我通过以下方式在主脚本中导入:

import$from'jquery'

require('imports?define=>false!。/jquery.stellar')

import$from'jquery'

import./jquery.stellar'

但我总是

未捕获的TypeError:(0,jquery2.default)(…)。stellar不是 作用

我如何在webpack中使用jquery stella。 谢谢大家!