posthtml / htmlnano

Modular HTML minifier, built on top of the PostHTML
https://htmlnano.netlify.app
MIT License
252 stars 29 forks source link

cssnano upgraded #282

Closed frederikhors closed 6 months ago

frederikhors commented 6 months ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: htmlnano@2.1.0
npm ERR! Found: cssnano@7.0.1
npm ERR! node_modules/cssnano
npm ERR!   dev cssnano@"7.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional cssnano@"^6.0.0" from htmlnano@2.1.0
npm ERR! node_modules/htmlnano
npm ERR!   dev htmlnano@"2.1.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: cssnano@6.1.2
npm ERR! node_modules/cssnano
npm ERR!   peerOptional cssnano@"^6.0.0" from htmlnano@2.1.0
npm ERR!   node_modules/htmlnano
npm ERR!     dev htmlnano@"2.1.0" from the root project
maltsev commented 6 months ago

I have released a new version of htmlnano (2.1.1) with cssnano@7.

Can you try to upgrade to it to see if this error disappears?

frederikhors commented 6 months ago

Thanks.