question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support .config/config folder lookup

See original GitHub issue

👋 @davidtheclark

@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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
aicommented, Dec 26, 2016

I had talk with Babel developers and they didn’t like the idea @hzoo

But I think people want some solution

0reactions
davidtheclarkcommented, May 5, 2018

@michael-ciniawsky This is now possible with v5, using the searchPlaces option. I added this use case to the examples in the readme 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found