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

Not reading config file sources #209

Closed
mnap00 opened this issue Jan 14, 2021 · 3 comments
Closed

Not reading config file sources #209

mnap00 opened this issue Jan 14, 2021 · 3 comments
Labels

Comments

@mnap00
Copy link

mnap00 commented Jan 14, 2021

RTLCSS 3.0.0 stopped reading config files.
Version 2.6.2 works as expected.

Also the documentation states that external configs should be named .rtlcssrc or .rtlcssrc.json but code is looking for .rtlcssrc or .rtlcss.json.

Line 8 in lib/config-loader.js:

var configSources = ['package.json', '.rtlcssrc', '.rtlcss.json']
@MohammadYounes
Copy link
Owner

@mnap00 This is a typo in the docs. But you say it has stopped reading the config, I'll check and update you.

@MohammadYounes
Copy link
Owner

@mnap00 Thanks for reporting this. Fixed in v3.1.0

@mnap00
Copy link
Author

mnap00 commented Jan 30, 2021

Works for me. Thanks.

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

No branches or pull requests

2 participants