yandex / reshadow

Markup and styles that feel right
https://reshadow.dev
Other
363 stars 15 forks source link

reshadow/postcss: up settings #138

Open valjusha opened 3 years ago

valjusha commented 3 years ago

Hi cool team. Please add the setting for reshadow/postcss: exclude & include. To ignore some paths. Example:

'reshadow/postcss': {
            postcss: boolean;
            exclude: string[];
            include: string[]
},

Thanks for reshadow.

antonk52 commented 3 years ago

Hi and thank you for the issue!

This should be pretty easy to implement. An alternative implementation can be done by introducing a single field patterns: string[]. Either way the resolution of this issue would automatically deprecate the root option that is currently used to specify a directory from which all css files will get processed by the postcss reshadow plugin.