News for hackers. Stuff that matters.
Re:Show HN: A simple website for my JavaScript bundler by ianertson on Monday February 15, 2021 @07:45AM (#26142189)
Thanks for the tip, will make sure to fix this
Re:Show HN: A simple website for my JavaScript bundler by constexpr on Monday February 15, 2021 @01:48PM (#26145771)
I noticed you changed this to "dev" instead of "production". Just letting you know that this will select the development build of React instead of the production build, which is not optimized for size and will lead to a bigger output file.

Good luck with your project!

Re:Show HN: A simple website for my JavaScript bundler by ianertson on Monday February 15, 2021 @02:19PM (#26146102)
Yes, this is because Im building it in "dev" for FJB as well. The circumstances should be equal for all benchmarks.
Re:Show HN: A simple website for my JavaScript bundler by constexpr on Monday February 15, 2021 @03:04PM (#26146644)
Ah I see, no worries. I assumed you were trying to compare against a production build since that's what "parcel build" does.
Re:Show HN: A simple website for my JavaScript bundler by ianertson on Tuesday February 16, 2021 @03:08AM (#26151899)
Right, I'll have to fix this too