title: babel-plugin-transform-remove-console in dev mode?
body: <p>I needed to run <code>babel-plugin-transform-remove-console</code> for my dev build. What I did was:</p>
  
  <pre><code>npm i babel-plugin-transform-remove-console --save-dev
  </code></pre>
  
  <p>Then in <code>.babelrc</code> I changed it to this:</p>
  
  <pre><code>{
    "presets": ["react-native"],
    "plugins": ["transform-remove-console"]
  }
  </code></pre>
  
  <p>I also tried:</p>
  
  <pre><code>{
    "presets": ["react-native"],
    "env": {
      "development,": {
        "plugins": ["transform-remove-console"]
      }
    }
  }
  </code></pre>
  
  <p>However console logging is still happening in my dev build. I am on Android.</p>
  
  <p>Does anyone know how to get this to work in dev mode?</p>