jouni-kantola / ruin

A CSS post-processor that saves bytes over the wire by shortening names of CSS classes.
MIT License
2 stars 0 forks source link

config file #1

Open jouni-kantola opened 8 years ago

jouni-kantola commented 8 years ago

Most important in the config file is glob for target file(s). However, as a start maybe we should keep it simple and just go for one file where we replace the values.

jouni-kantola commented 8 years ago

Suggested runtime configuration file name: .ruinrc

I guess we need a module to read the file, and soon get an example app running.

jouni-kantola commented 8 years ago

Now I remember what we need support for. An exclusion pattern/list, where we don't touch the source CSS classes. I mean, it's pretty normal that CSS classes are generated back-end. We'll never be able to target and ruin those files.

See issue https://github.com/davidxcheng/ruin/issues/23.