chenshuai2144 / umi-plugin-antd-theme

🎨 Best theme plugin
https://preview.pro.ant.design/
MIT License
85 stars 29 forks source link

配置文件改为 json 格式后,无法配置 filterFileLess #23

Open jing-wu opened 4 years ago

jing-wu commented 4 years ago

之前 1.x 版本里,可以在使用插件时,配置 filterFileLess 方法,过滤掉一些不需要参与编译的 less 文件,现在 2.x 改为 json 的配置项后,无法配置这个配置了。

我看 antd-pro-merge-less 库中,还是有对 filterFileLess 这个参数的支持的。

建议同时支持 json 或 js 配置项的支持。

jing-wu commented 4 years ago

@chenshuai2144 已提交相关 pr #25