Sublime Forum

Minify error on css file

#1

I am able to minify js files successfully. But I’m getting the error you see below in the graphic when I try to use minify on a css file. Please advise.

0 Likes

#2

I solved the problem.

  1. I copied Preferences > Package Settings > Minify > Settings-Default
  2. I opened Package Settings > Minify > Settings-User
  3. I pasted the Default settings into the User settings.
  4. I changed this line:
    // “cssminifier”: “clean-css”,
    to this line:
    “cssminifier”: “uglifycss”,
  5. I saved the new User settings and ran minify successfully on a css file.
0 Likes