Open rottenwheel opened 2 months ago
Please assign me this issue. I would like to contribute
The code sample shows HTML code, cssnano does not take HTML as input, you need to pass it the CSS separately. Does that solve the issue?
@ludofischer Happy to give it another go after cleansing the input code from HTML strings. Do you know of any easy way to strip CSS code from a file? Conversely, the same would be sought after for HTML texts... Thanks.
Describe the bug
Ran the
View Source Code
of rottenwheel.com (single CSS file) through nano by executing:npx postcss input.css > output.css
after having followed the 'Getting started' steps listed here.Got this in my terminal:
Expected behaviour
Expected to get an optimized version of my personal website, got the first third of the code and an error message.
Steps to reproduce
Just copy and paste my site's code into a file and try to run it through nano.
Version
Latest
Preset
(no preset)
Environment
Package details
Additional context
No response