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

    @quasar/app v1.1.1 released! Pls upgrade to it ASAP if using quasar/app 1.1.0.

    Announcements
    5
    5
    497
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rstoenescu
      rstoenescu Admin last edited by

      https://github.com/quasarframework/quasar/releases/tag/%40quasar%2Fapp-v1.1.1

      • fix(app): process.env.NODE_ENV is undefined when running eslint #5095
      • feat(app): Extract CSS for SSR too (build only, not dev) #3883
      • security: Clean up sass-node (#5101)
      1 Reply Last reply Reply Quote 2
      • M
        Marcelo Gondim last edited by

        Hi,

        Is possible to auto remove console.log for production to avoid this error ?

        ERROR in ./src-pwa/register-service-worker.js
        Module Error (from ./node_modules/eslint-loader/dist/cjs.js):

        D:\code\Janus\Janus-App\src-pwa\register-service-worker.js
        15:5 error Unexpected console statement no-console
        19:5 error Unexpected console statement no-console
        23:5 error Unexpected console statement no-console
        27:5 error Unexpected console statement no-console
        31:5 error Unexpected console statement no-console
        44:5 error Unexpected console statement no-console
        48:5 error Unexpected console statement no-console

        qyloxe 1 Reply Last reply Reply Quote 3
        • qyloxe
          qyloxe @Marcelo Gondim last edited by

          @Marcelo-Gondim
          in SPA mode this command throws errors, too:

          quasar build -m spa
          

          The problem is with “console.log” - please do not remove this possibility. “console.log” in production is useful, too.

          1 Reply Last reply Reply Quote 1
          • G
            gmyers last edited by

            In the .eslintrc.js file I comment out this line of code.

            5bdc5380-d94c-4c0e-b6af-2a865cd9d594-image.png

            SB 1 Reply Last reply Reply Quote 0
            • SB
              SB @gmyers last edited by

              Or change this line to

              'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
              
              1 Reply Last reply Reply Quote 0
              • First post
                Last post