Nuxt 3 build fails on Functions bundling with JavaScript heap out of memory exit code 134

This is likely related to: JavaScript heap out of memory when trying to build a Nuxt app - #14 by hrishikesh