• @TheSlad
    link
    4813 days ago

    Just run your prod env in debug mode! Problem solved.

    • Lupec
      link
      fedilink
      2713 days 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
        link
        1113 days 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.

        • @[email protected]
          link
          fedilink
          English
          513 days 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.

    • @[email protected]
      link
      fedilink
      24
      edit-2
      13 days 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.

      • @AlecSadler
        link
        1313 days ago

        I just died a little inside. Thank you.

      • @[email protected]
        link
        fedilink
        1013 days ago

        i have absolutely seen multiple projects on github that specifically tell you to do “npm run” as part of deploying it.