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

update example for --remove-prefix in sass-migrator #1307

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seiyab
Copy link

@seiyab seiyab commented Jan 29, 2025

Output example below looks mistyped and I verified @import changed to @use by the command locally.

$ cat style.scss
@import "theme";

@mixin app-inverted {
  color: $app-bg-color;
  background-color: $app-color;
}
$ sass-migrator --migrate-deps module --remove-prefix=app- style.scss
$ cat style.scss
@import "theme";

@mixin inverted {
  color: theme.$bg-color;
  background-color: theme.$color;
}

But I'm not so familiar with migration command and maybe even sass. Feel free to correct me and reject it if I'm misunderstanding.

And, I'm sorry that I don't drink whisky as the contribution guide suggests.

Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for sass-lang ready!

Name Link
🔨 Latest commit 69e362a
🔍 Latest deploy log https://app.netlify.com/sites/sass-lang/deploys/67999ffcf32faa0008f5bd2d
😎 Deploy Preview https://deploy-preview-1307--sass-lang.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nex3 nex3 requested a review from jathak January 29, 2025 23:10
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.

1 participant