Taro presets
presets
array
一个 preset 是一系列 Taro 插件的集合,配置语法同 plugins。module.exports = {
// ...presets: [// 引入 npm 安装的插件集'@tarojs/preset-sth',// 引入 npm 安装的插件集,并传入插件参数['@tarojs/plugin-sth', {arg0: 'xxx'}],// 从本地绝对路径引入插件集,同样如果需要传入参数也是如上'/absulute/path/preset/filename',]}