jchnxu
V2EX  ›  问与答

electron 怎么锁定包版本?

  •  
  •   jchnxu · Aug 9, 2023 · 1326 views
    This topic created in 1042 days ago, the information mentioned may be changed or developed.
    我看似乎 electron-builder 之类的没法锁定包的版本。比如 你指定 "^10.7.0",然后装好你本地 lockfile 是 "10.35.0"。但是真正打包的时候,他会 rebuild native depedencies ,再装一遍,这个时候,artifact 里面就变成了 "10.37.0"。我就出 bug 了。查了我两天

    有办法能够做到和外面的一致吗?除了手动锁定版本之外
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   922 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:20 · PVG 05:20 · LAX 14:20 · JFK 17:20
    ♥ Do have faith in what you're doing.