icepkg icon indicating copy to clipboard operation
icepkg copied to clipboard

开启 jsx-plus 插件后,内联 rpx 没有自动转成 vw

Open luhc228 opened this issue 1 year ago • 3 comments

目前 ICEPKG 转换内联 rpx 是通过 @ice/jsx-runtime 转换的,但是 jsx-plus 目前仅能转成 classic 模式 jsx-runtime

luhc228 avatar Nov 29 '23 03:11 luhc228

jsx-plus 插件启用的时候可以指定 createElement 方法 import 的来源

wssgcg1213 avatar Nov 30 '23 06:11 wssgcg1213

但是 jsx-plus 本身应该不涉及转换 JSX 的逻辑

wssgcg1213 avatar Nov 30 '23 06:11 wssgcg1213

jsx-plus 插件启用的时候可以指定 createElement 方法 import 的来源

怎么设置吗?

luhc228 avatar Jan 03 '24 08:01 luhc228