Answer the question
In order to leave comments, you need to log in
What are the warnings?
The developers of PhpStorm in the latest releases abandoned automatic minification using YUI Compressor and suggested using other packages, I put:
C:\Users\Lenovo>npm i -g csso-cli uglify-js
C:\Users\Lenovo\AppData\Roaming\npm\csso -> C:\Users\Lenovo\AppData\Roaming\npm\node_modules\csso-cli\bin\csso
C:\Users\Lenovo\AppData\Roaming\npm\uglifyjs -> C:\Users\Lenovo\AppData\Roaming\npm\node_modules\uglify-js\bin\uglifyjs
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\csso-cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ uglify-js@3.10.1
+ csso-cli@3.0.0
added 28 packages from 58 contributors in 7.615s
C:\Users\Lenovo>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question