@babel uses process.env en fails the build with Vite + vue 3.2.45 -

Suddenly, without any new packages installed, the latest deploy on production of my app stopped working. Diving deeper, and build without minify, shows that there is package called “@babel” that uses process.env and that fails.
I suppose @babel is kicking in for something? But can not figure out what.

All packages are latest ( vue 3.2.45)

Did the guys of vite tell @babel that they should stop using process.env?

I am reading a lot about import.meta.env in all issues here, but if vue uses babel and babel uses process.env, should not either babel or vite accept to give in and allow process.env anyway ?

Seems there was a package that used a babel. Removing that package solved it, it seems