@LaurentPayot Great !
Thank you
R
Posts made by remy
-
fix uglifyjs problem
Hello,
Iām using quasar-cli with the quasar-framewwork 0.13.4
There is a little problem when I launch the command āquasar devā.
An error message appears:X:\path\to\quasar-app\node_modules\uglifyjs\index.js:1 (function (exports, require, module, __filename, __dirname) { throw "uglifyjs is deprecated - use uglify-js instead."; ^ uglifyjs is deprecated - use uglify-js instead.
Looking for a bit, I discovered that it comes from the purify-css librarie.
It using"uglifyjs": "^2.4.10"
To fix this i have just rewriting in
./node_modules/purify-css/src/utils/FileUtil.js
and replace this lineā¦var UglifyJS = require('uglifyjs');
ā¦with this one
var UglifyJS = require('uglify-js');
hope that this could help some in the same case and sorry for my basic english (iām french)