Error switching to vite

Pretty sure the runtime error for built package is resolved with this codemod: Redwood v6.0.0 RC is now available

(read the docs! :man_facepalming:)

Would still love some tips on the test error though!