You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I writing tool for minificators testing. It downloads several web sites, compresses them and does a screenshots to make sure that nothing been broken. And I get errors in all files.
minified = moreCss.compress(source, true);
`TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at new CleanCSS (/home/deeech/Projects/git/css-minificator-tests/node_modules/more-css/node_modules/clean-css/lib/clean.js:55:130)
at Compress.compress (/home/deeech/Projects/git/css-minificator-tests/node_modules/more-css/build/compress.js:34:18)
at exports.default (/home/deeech/Projects/git/css-minificator-tests/node_modules/more-css/build/compress.js:11:49)
at Function.More.compress (/home/deeech/Projects/git/css-minificator-tests/node_modules/more-css/build/More.js:430:12)
at Object.more-css (/home/deeech/Projects/git/css-minificator-tests/lib/minifiers.js:67:30)
at Object.exports.minify.err [as minify] (/home/deeech/Projects/git/css-minificator-tests/lib/minifiers.js:86:35)
at promise.then (/home/deeech/Projects/git/css-minificator-tests/lib/processPage.js:48:24)
at _fulfilled (/home/deeech/Projects/git/css-minificator-tests/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/home/deeech/Projects/git/css-minificator-tests/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/home/deeech/Projects/git/css-minificator-tests/node_modules/q/q.js:796:13)
at /home/deeech/Projects/git/css-minificator-tests/node_modules/q/q.js:604:44
at runSingle (/home/deeech/Projects/git/css-minificator-tests/node_modules/q/q.js:137:13)
at flush (/home/deeech/Projects/git/css-minificator-tests/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)`
Is this minificator error or I just don't use it correctly?
The text was updated successfully, but these errors were encountered:
which version of clean-css is to be used?
I haven't been updated for a long time, it seems the interface of clean-css has been changed.
It's a pity I suggest to use clean-css directly.
Hello! I writing tool for minificators testing. It downloads several web sites, compresses them and does a screenshots to make sure that nothing been broken. And I get errors in all files.
minified = moreCss.compress(source, true);
`TypeError: Path must be a string. Received undefined
Is this minificator error or I just don't use it correctly?
The text was updated successfully, but these errors were encountered: