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.

Configure lookup paths for composes/from

See original GitHub issue

I’m still wrapping my head around the standard patterns for how PostCSS plugins consume configuration, but it doesn’t look like there’s currently a way to pass configuration through to postcss-import to configure the root and search path(s) for composes foo from 'bar' lookups.

Is this something that it would make sense to add, or am I missing something fundamental? I’m also happy to put together a PR if you have a form factor in mind for how you might want to consume such configuration.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bernardodiasccommented, Aug 5, 2016

I see this is an old issue, but since still open. This plugin solved this problem for me https://www.npmjs.com/package/postcss-modules-resolve-path

0reactions
madyankincommented, Jul 21, 2021

Added in #126

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure lookup paths for composes/from · Issue #13 - GitHub
It is looking for the file next to the path of the file that includes the composes, instead of using the path option...
Read more >
Common Source Path Lookup - CCS 4.2.3 - TI E2E
"Set “Source Lookup Paths” for CCS to scan when looking for source files: • Set for current debug session • Set for launch...
Read more >
Setting Search Paths
If your source code, executable, and object files reside in different directories, set search paths for these directories with the File > Search...
Read more >
The Module Search Path - Real Python
In this video, you're going to explore the module search path. So, where can you import a module from? When the interpreter executes...
Read more >
The initialization of the sys.path module search path — Python ...
The directory with the extension modules is called exec_prefix . The PYTHONHOME environment variable may be used to set the prefix and exec_prefix...
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