-
-
Notifications
You must be signed in to change notification settings - Fork 128
Description
We are currently building website with Webpack 4, which is very outdated and requires Node 14, which is ancient. Migration to Webpack 5 is somewhere between non-trivial and hard. This problem has thwarted efforts to upgrade to newer versions of Node for quite a few years now (cf. #986, #1076, #1147, #1205).
Meanwhile, we have had plans to switch away from Webpack for even longer. In #701, @zner0L attempted to switch to Hugo's js.Build based on esbuild. That would mainly have two advantages: The configuration is much easier and more ergonomic than Webpack. And builds are much faster.
The #701 PR is now very outdated and has even been created before our major refactoring and TS conversion in 2022. As such, I don't think it makes sense to build on that PR. It will be much easier to start anew and copy still relevant bits from the PR.
So, I guess that's what I'm going to attempt now. :D