stylify / packages

💎 Monorepository for Stylify packages. Stylify uses CSS-like selectors to generate Extremely optimized utility-first CSS dynamically based on what you write 💎.
https://stylifycss.com
MIT License
429 stars 9 forks source link

Variables dir path for scss, less, stylus should be shortened to for example scssVarsExport #204

Closed Machy8 closed 1 year ago

Machy8 commented 1 year ago

Describe the problem

Now, if someone wan'ts to use different name for export file, it cannot be done. scssVarsFilePath is unnecessary, as only directory is enough. So it should be scssVarsExport:

const config = {
   // This line below will be exported as /path/to/dir/stylify-vars.css
   cssVarsExport: '/path/to/dir',
   // Or with a custom file name
   cssVarsExport: '/path/to/file.css
]

Describe the proposed solution

.

Alternatives considered

.

Importance

would make my life easier