IEEE-RVCE / IEEE-RVCE/IEEE-RVCE.github.io

Long cold start time of development server

未關閉
#102 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

enhancement
主要語言
JavaScript
星號
3
分支
2
PR 合併指標
30 天內沒有已合併 PR

描述

  • Description: The development server for the IEEE RVCE website made using React and bundled using Webpack takes a long time to start when running the npm start command, especially on the first run of the day. This slows down the development process and makes it difficult to iterate quickly.
Steps to reproduce:

Run the command npm start to start the development server, Observe the time taken for the server to start up.

  • Expected behavior: The development server should start up quickly, allowing us to iterate quickly and efficiently.
  • Actual behavior: The development server takes a long time to start up, which slows down the development process.
  • Possible solution: Migrate the project from Webpack to VITE.

FYI @chrisvrose @MayurSChittaragi

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先執行 npm start 並測量開發伺服器的啟動時間,尤其是第一次執行時。檢查目前的 React 和 Webpack 開發設定,然後評估遷移至 Vite 是否能解決延遲。當開發伺服器的啟動速度明顯提升,同時保留現有的開發工作流程時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, react, vite, webpack
領域
build-system, frontend, performance
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。