No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. remy
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 1
    • Groups 0

    remy

    @remy

    1
    Reputation
    384
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    remy Follow

    Best posts made by remy

    • RE: fix uglifyjs problem

      @LaurentPayot Great !
      Thank you 😁

      posted in CLI
      R
      remy

    Latest posts made by remy

    • RE: fix uglifyjs problem

      @LaurentPayot Great !
      Thank you 😁

      posted in CLI
      R
      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)

      🙂

      posted in CLI
      R
      remy