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

Is it possible to handle package importers when using the sass-migrator? #264

Open
vimalloc opened this issue Nov 14, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@vimalloc
Copy link

vimalloc commented Nov 14, 2024

If I try to use the sass-migrator on a codebase that has been convert to using --pkg-importer=node, then I get an error whenever I hit one of those statements, like such:

Error: Could not find Sass file at 'pkg:bourbon'.

5 │ @import 'pkg:bourbon'

It doesn't look like there is a --pkg-importer option for the sass-migrator. So far what I've been doing is moving these imports back to the --load-path version, running the migrator, then moving them back to the package migrator, but it's a bit tedious to do so.

Thanks for all the work on this tool by the way! It has simplified a lot of things for us!

@jathak jathak added the enhancement New feature or request label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants