babel一些插件用法
babel-plugin-dynamic-import-node //支持import(‘comXXX‘).then()写法
babel-plugin-dynamic-import-webpack //支持import(‘comXXX‘).then()写法
babel-plugin-import //支持对antd, antd-mobile, lodash, material-ui等库进行按需加载
babel-plugin-syntax-dynamic-import //支持import(‘comXXX‘).then()写法
babel-plugin-transform-class-properties //支持类内直接写属性和静态属性
babel-plugin-transform-decorators-legacy //支持装饰器
babel-plugin-transform-runtime //转换为ES5需要辅助函数,将所有的辅助函数集中到一个模块中,避免所有js文件中有重复的辅助函数生命
相关推荐
82530995 2020-10-15
ruanhongbiao 2020-08-16
FEvivi 2020-06-16
FEvivi 2020-06-13
PANH 2020-06-12
zhongweinan 2020-06-10
PANH 2020-06-07
PANH 2020-06-01
82530995 2020-05-10
webfullStack 2020-04-26
zhongweinan 2020-04-24
FEvivi 2020-04-17
zhongweinan 2020-03-03
zhongweinan 2020-02-21
PANH 2020-02-19
PANH 2020-01-23
zhongweinan 2020-01-21
上海彭彭 2020-01-14
yinuoqingqin 2020-01-13