用webpack打包之后里面会有箭头函数,导致在ie里面用不了
webpack配置
babel配置
package.json
不知道是什么原因
{ "presets": [ ["env", { "targets": { "browsers": [ "> 1%", "last 2 versions", "Android >= 3.2", "Firefox >= 20", "iOS 7" ] }, }] ] }
你试试
1.4m articles
1.4m replys
5 comments
57.0k users