Babel 6 transform-runtime: $export is not a function

前端 未结 7 1042
一向
一向 2020-12-14 05:52

I\'m trying to incorporate Babel\'s transform-runtime to make my code compatible with IE9. But since integrating it, the code won\'t even run on Chrome. I get the error

相关标签:
7条回答
  • 2020-12-14 06:47

    Have you install also the babel-runtime?

    I just installed both and added the plugin in the .babelrc and it worked out.

    0 讨论(0)
提交回复
热议问题