Updating Groundwork and Groundwork-Water from 3.x.x to 4.x.x yielded a number of issues. Updating vite, babel/core, and vitejs resolved some of these issues.
A second issue appeared "Uncaught Error: Calling 'require' for "react" in an environment doesn't expose the 'require' function. Errors were pointing to @usace_groundwork.js. Reverting to a Groundwork version 3.x.x (specifically 3.15.6) resolved the issue.
Updating Groundwork and Groundwork-Water from 3.x.x to 4.x.x yielded a number of issues. Updating vite, babel/core, and vitejs resolved some of these issues.
A second issue appeared "Uncaught Error: Calling 'require' for "react" in an environment doesn't expose the 'require' function. Errors were pointing to @usace_groundwork.js. Reverting to a Groundwork version 3.x.x (specifically 3.15.6) resolved the issue.