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
Getting exactly this same error with purify-css 1.2.5. We have no use for the CLI version.
Full error details:
Error: undefined:1:75: missing '{'
at error (/dev/example/node_modules/css/lib/parse/index.js:62:15)
at declarations (/dev/example/node_modules/css/lib/parse/index.js:248:25)
at rule (/dev/example/node_modules/css/lib/parse/index.js:561:21)
at rules (/dev/example/node_modules/css/lib/parse/index.js:118:70)
at stylesheet (/dev/example/node_modules/css/lib/parse/index.js:81:21)
at module.exports (/dev/example/node_modules/css/lib/parse/index.js:565:20)
at rework (/dev/example/node_modules/rework/index.js:27:21)
at CssTreeWalker.beginReading (/dev/example/node_modules/purify-css/lib/purifycss.js:568:24)
at purify (/dev/example/node_modules/purify-css/lib/purifycss.js:1009:10)
at Object.<anonymous> (/dev/example/webpack/tasks/purify.js:11:1)
I can get it working in terminal
purifycss js css --min --info --out ./index.css
But, in the node code, it doesn't
It returns me something like
The text was updated successfully, but these errors were encountered: