babel plugin detective:Babel插件可扫描AST以查找需求调用和导入语句 源码
babel-plugin-detective Babel 5/6插件,可扫描AST以查找需求调用和导入语句 安装 $ npm install --save babel-plugin-detective babel-core 用法 import babel from 'babel-core' ; const detective = require ( 'babel-plugin-detective' ) ; const myModule = require ( 'my' + 'module' ) ; // See below for available options const option
用户评论