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

Added options.resolve function allowing resolveId override and options.paths will fallback to relative paths #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Swiftwork
Copy link

@Swiftwork Swiftwork commented Dec 19, 2019

Originally planned to extend the "paths" option, but deemed that to be too unclear. Instead added a new "resolve" option that take the same arguments as resolveId(file, url, opts) => string. As an added bonus internal resolveId will now attempt to resolve file relatively if "paths" don't return any meaningful results.

Closes: #57

@Swiftwork
Copy link
Author

Looking for review @TrySound

@DanielHara
Copy link

@TrySound , any perspective on merging this? I'd be great!

DanielHara added a commit to DanielHara/postcss-inline-svg that referenced this pull request Feb 28, 2022
@DanielHara
Copy link

@TrySound , any perspective on merging this? I'd be great!

Or @hudochenkov?

2tunnels pushed a commit to moneypark/postcss-inline-svg that referenced this pull request Oct 7, 2022
* apply TrySound#66
* relative path before absolute path
* Upgrade css-select
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use relative paths and options.paths together
2 participants