SystemLight
V2EX  ›  webpack

为什么起个空项目配置 webpack 编译的速度不如 create-react-app 创建的项目快?

  •  
  •   SystemLight · Dec 30, 2020 · 2499 views
    This topic created in 1993 days ago, the information mentioned may be changed or developed.
    1. create-react-app 对编译做了什么优化么?
    2. ts-loader 很拖编译时常,应该如何解决
    1 replies    2020-12-30 11:43:19 +08:00
    Roxk
        1
    Roxk  
       Dec 30, 2020
    1.不知道 pnp-webpack-plugin 和 react-refresh-webpack-plugin 是否提供了很大的提升,不过前者无法用在 ts 文件上
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3505 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:47 · PVG 18:47 · LAX 03:47 · JFK 06:47
    ♥ Do have faith in what you're doing.