[REQUEST] Ability to ignore specific dependencies
Hello!
The migrator keeps erroring out because bootstrap 5 uses deprecated functionality, and we'd like to ignore that (we don't control that dependency). Unless I missed something, that's not currently possible
See error:
> sass-migrator module --migrate-deps .\resources\sass\app.scss
Error: The migrator wants to rename a member in node_modules\bootstrap\scss\_functions.scss, but it is not being migrated. You should re-run the migrator with --migrate-deps or with node_modules\bootstrap\scss\_functions.scss as one of your entrypoints.
Migration failed!
Are you referencing any members from Bootstrap that start with an underscore (or a dash, they're equivalent)? I'm pretty sure that's the only case where the migrator would want to rename a member when the --remove-prefix flag is not used.
If so, then I don't think it's possible to migrate your @import of Bootstrap to @use, since members starting with an underscore are private when using the module system.
We should probably update this error message to specify which member and possibly add a clarification about private members.