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

前端 未结 7 1074
一向
一向 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.

提交回复
热议问题