0

I'm trying to remove all of the unused css in the framework I'm using by using uncss. But when I try I get the error:

file:///C:/Users/Angus/Desktop/FTTL%20website%20submit/index.html:15 in onload
Fatal error: UnCSS: could not open C:\Users\Angus\Desktop\FTTL website%20submit\css\main.css

Does anyone know why this is?

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
user3709389
  • 55
  • 1
  • 1
  • 5

1 Answers1

0

Iyou forget to handle the first space properly (FTTL website%20submit) in the path, if you change the folder name or escape it properly (like FTTL%20website%20submit) it might work.

Edit: Or the other way around and the %20 substitution for the path was not working for the second space. (I am not familiar with uncss.)

(In my opinion it is best not using spaces in file and folder names.)

Gábor Bakos
  • 8,982
  • 52
  • 35
  • 52