Node 22 just came out, so we want to upgrade off of Node 16 which is going end-of-life today (end of April 2024). This PR moves to Node 20.
This requires upgrading webpack, as webpack 5.27.1 used a feature of older Node versions that is deprecated in Node 18 and above. No other NPM package upgrades have been required yet; once we're running a modern version of Node, I'll upgrade more NPM packages.
Screenshots
N/A
Checklist
[X] I have labeled my PR with: bug, feature, engineering, security fix or testing
[X] I have performed a self-review of my own code
[X] I have reviewed the title & description of this PR which I will use as the squashed PR commit message
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have enabled auto-merge (optional)
Testing
Run make, make sure site still loads. That's about it.
Fixes #1793
Description
Node 22 just came out, so we want to upgrade off of Node 16 which is going end-of-life today (end of April 2024). This PR moves to Node 20.
This requires upgrading webpack, as webpack 5.27.1 used a feature of older Node versions that is deprecated in Node 18 and above. No other NPM package upgrades have been required yet; once we're running a modern version of Node, I'll upgrade more NPM packages.
Screenshots
N/A
Checklist
Testing
make
, make sure site still loads. That's about it.