Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support cssModulesExcludes with RegExp #1511

Merged
merged 1 commit into from
Nov 26, 2018

Conversation

xiaohuoni
Copy link
Member

Close: #1509

@sorrycc sorrycc merged commit 3f89d3b into master Nov 26, 2018
@sorrycc sorrycc deleted the cssModulesExcludes-use-RegExp branch November 26, 2018 02:58
@sorrycc sorrycc changed the title 🔧 cssModulesExcludes use RegExp feat: support cssModulesExcludes with RegExp Nov 26, 2018
@lihroff
Copy link

lihroff commented Feb 28, 2019

感觉还是有点问题,好像是被前置的校验挡住了,另外对于文件的处理建议使用glob会比正则更直观。

@NicoKam
Copy link

NicoKam commented Aug 2, 2019

umi version: 2.8.15

.umirc.js:

  cssModulesExcludes: [
   /src[\\/]components[\\/]PropsEditor[\\/]PropsEditor.less/
  ],

Error: 配置 cssModulesExcludes 校验失败, The "path" argument must be of type string. Received type object

@ycjcl868
Copy link
Contributor

不起效

@tonypig93
Copy link

用不了

The "path" argument must be of type string. Received type object

@big-camel
Copy link
Contributor

提了 一年了,还用不了正则吗?

@Jeff-Tian
Copy link
Contributor

ping

@sorrycc
Copy link
Member

sorrycc commented Oct 31, 2019

@itellyou-com @Jeff-Tian 一年了没啥人反馈,说明需求不强,有需要可以提 PR 加上。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cssModulesExcludes 是否可以支持正则
8 participants