jiaoguan1688
V2EX  ›  Node.js

同样是运行 npm run build 打包程序 cursor 比 hbx 慢 1000 倍

  •  
  •   jiaoguan1688 · Mar 31, 2025 · 2681 views
    This topic created in 419 days ago, the information mentioned may be changed or developed.
    hbx 基本是几秒就好
    cursor 我看进度很慢,得半个小时
    这是啥问题呢
    3 replies    2025-04-01 10:18:29 +08:00
    wangtian2020
        1
    wangtian2020  
       Apr 1, 2025
    很抽象,你运行打包命令跟用什么编辑器有什么关系,用 cmd 命令行打包也时间一样的
    主要花的时间看你打包的项目里有没有 node-sass node-sqlite 等二进制的 shit 需要从网络下载( tun 模式可解)
    还有用的打包工具链 webpack / vite
    lyxxxh2
        2
    lyxxxh2  
       Apr 1, 2025
    我跟你相反 为什么我用 hbx 要一年才打包好。
    MEIerer
        3
    MEIerer  
       Apr 1, 2025
    cursor 应该没有自己实现终端,只是帮你调你本地的终端吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6171 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 02:57 · PVG 10:57 · LAX 19:57 · JFK 22:57
    ♥ Do have faith in what you're doing.