• Lupec@lemm.ee
      link
      fedilink
      arrow-up
      28
      ·
      4 months ago

      Lol my workplace ships Angular in debug mode. Don’t worry though, the whole page kills itself if a dubious third-party library detects the console is open. Very secure and not brittle at all! Please send help

      • Barbarian@sh.itjust.works
        link
        fedilink
        arrow-up
        12
        ·
        4 months ago

        Blink-blink-blink. Blink. Blink. Blink. Blink-blink-blink.

        No, I don’t have something in my eyes, I swear I’m fine looks nervously at boss.

      • InFerNo
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Now I’m curious how this detection would work.

        • SteveTech@programming.dev
          link
          fedilink
          English
          arrow-up
          5
          ·
          4 months ago

          I’ve seen some that activate an insane number of breakpoints, so that the page freezes when the dev tools open. Although Firefox let’s you disable breaking on breakpoints all together, so it only really stops those that don’t know what they’re doing.

    • MultipleAnimals@sopuli.xyz
      link
      fedilink
      arrow-up
      25
      ·
      edit-2
      4 months ago

      You can imagine how many node projects there are running in production with npm run. I have encountered js/ts/node devs that don’t even know that you should like, build your project, with npm build and then ship and serve the bundle.