Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository:ChatGPTBox-dev/chatGPTBox
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base:master
Choose a base ref
...
head repository:ChatGPTBox-dev/chatGPTBox
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:BuildOptimization
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Sep 9, 2025

  1. Refactor build pipeline for performance and dev output reliability

    Replace JS/CSS minifiers with esbuild to significantly reduce build times while preserving outputs. Enable thread‑loader by default in dev and prod with dynamically chosen workers. Keep filesystem cache enabled and make compression configurable (favoring uncompressed for faster warm builds on CPU‑bound machines). Scope the Webpack cache version to output‑affecting dimensions for cross‑machine/CI reuse. Add BUILD_PARALLEL to switch between parallel and sequential production builds. Also enable dependency caching in GitHub Actions to speed up CI runs. Improve development behavior and outputs: keep watch mode alive on initial compilation errors with deterministic exits via BUILD_WATCH_ONCE, use style‑loader for faster CSS in dev, emit CSP‑safe external source maps and copy them in dev to avoid 404s, and reduce noisy CSS 404s by skipping only missing assets. Harden related env parsing and consolidate logic to reduce duplication and improve readability. Packaging reliability: wait for the ZIP write stream to close before proceeding to ensure archives are fully flushed on fast CI runners. No breaking changes. Results from a DO VPS (2 cores, ~4 GiB RAM): - Production first run (cold): ~44s (baseline ~105s) - Production second run (warm): ~19s (baseline ~39s) - Development first run: ~31s; second run: ~29s Times vary by environment.
    @PeterDaveHello
    PeterDaveHello committed Sep 9, 2025
    Configuration menu
    Copy the full SHA
    aed5ba4View commit details
    Browse the repository at this point in the history
Loading