编写一个简单的babel插件

babel插件编写 编写一个模块按需加载的babel插件 当我们导入lodash中指定的工具函数时 会将整个lodash打包进来 import {flattenDeep, chunk} from 'lodash' 换成按需引入的写法 但是这样写有些麻烦