将开头代码
1 | !function(e,n){"function"==typeof define&&(define.amd||define.cmd)?define(function(){return n(e)}):n(e,!0)}(this, |
改为:1
!function(e,n){module.exports=n(e,!0)}(window,
将开头代码
1 | !function(e,n){"function"==typeof define&&(define.amd||define.cmd)?define(function(){return n(e)}):n(e,!0)}(this, |
改为:1
!function(e,n){module.exports=n(e,!0)}(window,