• dejected_warp_core@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    3 个月前

    NPM ruin dev is a new advanced feature that endorses opinionated “extreme programming” techniques. First it gets to work rebuilding node_modules, but with all the least compatible module versions in order to accelerate testing. It also minifies your .js code in place, to save you some CPU cycles later. Lastly, it squashes your entire git history on all branches, to save space.

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 个月前

      It also tries to do rm -rf / to save more space, but in this case it’s a futile attempt