/** * 分析一下module.export js,搜索key值,写入value,最终合并后输出源码 * @param code js 文件源码 * @param key 需要插入或者修改的 key * @param value key对应的值 * @returns {*} */ export default function (code: string, key: string, value: any): any;