dillon1000/react
Commit
Browse files Parallelizes the build script across multiple processes (#15716)
* Write size info to separate file per bundle `bundle-sizes.json` contains the combined size information for every build. This makes it easier to store and process, but it prevents us from parallelizing the build script, because each process would need to write to the same file. So I've updated the Rollup script to output individual files per build. A downstream CI job consolidates them into a single file. I have not parallelized the Rollup script yet. I'll do that next. * Parallelize the build script Uses CircleCI's `parallelism` config option to spin up multiple build processes.
Changed paths6 files
First-parent comparison.circleci/config.yml ModifiedM .gitignore ModifiedM scripts/circleci/upload_build.sh ModifiedM scripts/rollup/build.js ModifiedA scripts/rollup/consolidateBundleSizes.js AddedM scripts/rollup/stats.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…