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

bug: removing used code #41

Open
x1c0 opened this issue Nov 11, 2019 · 0 comments
Open

bug: removing used code #41

x1c0 opened this issue Nov 11, 2019 · 0 comments

Comments

@x1c0
Copy link

x1c0 commented Nov 11, 2019

Hi, I have 2 files with the same styles

//1.css and 2.css same content

#breadcrumb ul {
  list-style: none;
  margin: 8px 0 0 0 !important;
  padding: 0 !important;
}

#breadcrumb li {
  float: left;
  margin-left: 0;
  padding-left: 0;
}

// config_css.json

{
  "options": {
    "trim": false,
    "shorten": false,
    "format": false
  }
}

when I run this: css-purge -i "1.css,2.css" -o 3.css -f config_css.json I get this weird result:

image

And the list-style: none; just disappeared :(

Is this a bug? any idea why? basically I have 2 big very similar css files and I want to remove duplicate styles

Thanks in advance!

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

No branches or pull requests

1 participant