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

feat: support array format for unitToConvert option #122

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

Conversation

huhm
Copy link

@huhm huhm commented Dec 14, 2021

No description provided.

@huhm
Copy link
Author

huhm commented Dec 14, 2021

Use Case

My Project has some code like this:

.font-14 {
  /* prettier-ignore */
  font-size: 14PX;
}

The plugin willl ignore the px convertor ,because 'px'!=='PX'. and then someday I have convert the PX too,but still let it avaliable to rolling-over,so I can't change the source. then there is a place for the unitToConvert: ["px","PX"]

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