title: Upgrading to expo 31. react-native-dot-env error: react native does not support node standard library
body: <p>I'm upgrading to expo 31 from 30. I'm getting this error: </p>
  
  <p>The package at "node_modules/react-native-dotenv/index.js" attempted to import the Node standard library module "path". It failed because React Native does not include the Node standard library. Read more at <a href="https://docs.expo.io/versions/latest/introduction/faq/#can-i-use-nodejs-packages-with-expo" rel="nofollow noreferrer">https://docs.expo.io/versions/latest/introduction/faq/#can-i-use-nodejs-packages-with-expo</a></p>
  
  <p>I'm using babel.config.js. My version of react-native is "0.57.8"</p>
  
  <p>I've tried clearing my cache, updating dot-env, and changing way I use it as an import </p>
  
  <pre><code>module.exports = function(api) {
  api.cache(true);
  return {
        "presets": ["babel-preset-expo", "module:metro-react-native-babel-preset", "module:react-native-dotenv"],
   env: {
      development: {
      plugins: [
         '@babel/transform-react-jsx-source',
        ]
      }
     }
  
    };
  };
  </code></pre>