Closed 729902288 closed 2 years ago
您好,由于taro v3.5x打包工具,目前还是webpack5。此插件只有vite版的,不能适用taro,能否增加一个webpack的支持? 配置及出错信息如下: import transformWeClass from 'unplugin-transform-we-class/webpack'; import presetAttributifyWechat,{defaultAttributes} from 'unplugin-unocss-attributify-wechat/webpack';
webpackChain(chain) { chain.plugin("transformWeClass").use(transformWeClass()); chain.plugin('presetAttributifyWechat').use(presetAttributifyWechat()); },
import { defaultIgnoreNonValuedAttributes, presetAttributifyWechat } from 'unplugin-unocss-attributify-wechat/webpack' 我的,readme忘更新了 uniapp ,taro 使用文档,见 github 掘金
uniapp
taro
您好,由于taro v3.5x打包工具,目前还是webpack5。此插件只有vite版的,不能适用taro,能否增加一个webpack的支持? 配置及出错信息如下: import transformWeClass from 'unplugin-transform-we-class/webpack'; import presetAttributifyWechat,{defaultAttributes} from 'unplugin-unocss-attributify-wechat/webpack';
webpackChain(chain) { chain.plugin("transformWeClass").use(transformWeClass()); chain.plugin('presetAttributifyWechat').use(presetAttributifyWechat());
},