Open RainZhai opened 7 years ago
在全局使用jq,使用extenal,不需要专门作为模块。在使用webpack打包后,出现报错。主入口js中使用了let $=require('jQuery');会无法编译,let改为var即可
在全局使用jq,使用extenal,不需要专门作为模块。在使用webpack打包后,出现报错。主入口js中使用了let $=require('jQuery');会无法编译,let改为var即可