Resurrection of the client-side infrastructure upgrade effort

Update - all tests are passing in the Webpack 5 pull request!
Reviews are needed as it’s a big change to the application loading process.
After webpack 5 is in, the next steps for the UI infrastructure will be converting foremanReact into a module to be consumed by plugins to improve efficiency, and to upgrade PF4 to PF5 (which shouldn’t take too long thanks to automation).

Your feedback and collaboration during this phase are greatly appreciated.

To test, you will need these 2 PRS:

running rm -rf node_modules package-lock.json public/webpack (for a clean start)

npm install

and then foreman start
or rake webpack:compile and foreman start rails.
Webpack no longer runs as a server and will create static files.

2 Likes