1

I'm trying to use babel-plugin-import to import antd in an old project that uses babel-core@5.4.7 and babel-loader@5.1.2.

How can I get babel-plugin-import to work with current configuration? Or is there any older version of babel-plugin-import plugin that would go with it?

4

1 回答 1

1

Babel 5 的插件系统与 Babel 6 非常不同,因此当前的任何插件都不太可能在 Babel 5 上运行。

于 2018-02-14T16:15:23.853 回答