risen228 / craco-alias

A craco plugin for automatic aliases generation for Webpack and Jest
MIT License
109 stars 11 forks source link

Add filter option #27

Closed liuliangsir closed 3 years ago

risen228 commented 3 years ago

@liuliangsir Thanks, this option may be helpful! But I renamed it to filter instead of filters and replaced an array with a filter function accepting params [key, value], so you can use any validations, for example, regular expressions.