Bot releases are visible (Hide)
@mpxjs/webpack-plugin
新增编译配置proxyComponentEventsRules
支持输出web和支付宝时在组件上直接绑定事件,模拟微信表现,详情查看:https://mpxjs.cn/api/compile.html#proxycomponenteventsrules
setup
报错, #1284renderOptimizeRules
开启,开启后会通过ast分析对运行时注入的render函数进行精简优化,一定程度上降低产物体积,详情查看:https://mpxjs.cn/api/compile.html#renderoptimizerules
PropType
导出,用于精确定义props类型,详见https://github.com/didi/mpx/pull/1275
@mpxjs/size-report
支持计算webpackTemplateSize
@mpxjs/webpack-plugin
新增支持options.optimizeSize
,开启后将优化编译配置在一定程度上降低输出产物体积@mpxjs/webpack-plugin
编译配置asyncSubpackageRules
,通过编译配置在外部统一进行分包异步化声明,详情查看https://mpxjs.cn/api/compile.html#asyncsubpackagerules
Published by Blackgan3 over 1 year ago