lahmatiy / postcss-csso

PostCSS plugin to minify CSS using CSSO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin Error (csso): TypeError: require(...) is not a function'

futureweb opened this issue · comments

Hello,
trying to execute postcss-csso with this call:
/usr/local/bin/node /usr/bin/postcss '/my/path/to/css/style.min.css' -r --use csso -m --verbose 2>&1
but always failing with this Error:
Plugin Error (csso): TypeError: require(...) is not a function'
Anyone any ideas on this?
Thank you very much, bye from Austria
Andreas S.

my fault ... should have been
--use postcss-csso
istead of
--use csso