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