Support .config/config folder lookup
See original GitHub issue@postcss-loader got a few requests to support setting a custom config path for postcss.config.js
lookup and most of the folks especially wanted to store them in a separate .config/config
folder somewhere in their project.
While thats totally fine and works for now, on the other hand it ignores/devalues the reason/benefit behind actually autoloading the config without the need for any additional ‘setup’ 😛 . So maybe there is a compromise possible to enable additional search in .config/config
folders while walking the file tree.
|– (.)config(<---)
| |– postcss.config.js
|– client
| |– (.)config (<---)
| | |– postcss.config.js
| |– styles
| |– index.css (search starts here)
| |– postcss.config.js (supported)
|– gulpfile.js
|– webpack.config.js
If you are basically ok with it, but don’t have the time/interest to do it, coordinating me to the location in the source for getting started would be appreciated 😃
cc @ai
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Directory Lookup configuration
Users can use Directory Lookup in the Self-Service web application to find other employees in an ... This displays the Directory lookup configuration...
Read more >Implement configuration file lookup #2 - GitHub
Web Essentials requires rtlcss to handle its configuration lookup on its own, searching current working folder all the way up to the root....
Read more >Where are configuration files stored in Windows? - FotoWare
This document describes where the configuration files are stored in FotoStation. All folder names refer to the English version of Windows.
Read more >How to access .config folder? - Apple Community
config folder ? Hi,. I'm trying to access the following address on Mac Mojave: root/.
Read more >nuget.config File Reference - Microsoft Learn
The lookup logic for this configuration is: Look in global package folder to see if the package/version is already downloaded. Look in the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had talk with Babel developers and they didn’t like the idea @hzoo
But I think people want some solution
@michael-ciniawsky This is now possible with v5, using the
searchPlaces
option. I added this use case to the examples in the readme 👍