Speeding up the npm install

前端 未结 8 2037
忘掉有多难
忘掉有多难 2021-02-01 14:54

I am trying to speed up the npm install during the build process phase. My package.json has the list of packages pretty much with locked revisions in it. I\'ve also configured t

8条回答
  •  不要未来只要你来
    2021-02-01 15:42

    For pure npm solution, you may try

    npm install --prefer-offline --no-audit --progress=false
    

    Prefer offline may not be useful for the first run.

提交回复
热议问题