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

Support --pkg-importer=node #267

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Support --pkg-importer=node #267

merged 2 commits into from
Dec 18, 2024

Conversation

jathak
Copy link
Member

@jathak jathak commented Dec 18, 2024

Fixes #264

@jathak jathak requested a review from nex3 December 18, 2024 21:37
loadPaths: globalResults!['load-path']);
var importCache = ImportCache(importers: [
NodeModulesImporter(),
if ((globalResults!['pkg-importer'] as List<String>).contains('node'))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would communicate the likely extensions of this behavior better to make this a for loop.

@jathak jathak merged commit e3712be into main Dec 18, 2024
18 checks passed
@jathak jathak deleted the pkg-importer branch December 18, 2024 23:37
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.

Is it possible to handle package importers when using the sass-migrator?
2 participants