title: Can I have multiple babel.config.js in a monorepo?
body: <p>I have a monorepo with the structure like below</p>
  
  <pre><code>babel.config.js
  packages/
  |---mobile/
     |----package.json
     |----src/index.js
  
  |---desktop/
     |----package.json
     |----src/index.js
  
  |---server/
     |----package.json
     |----src/index.js
  </code></pre>
  
  <p>So my <code>babel</code> configuration for <code>mobile</code> and <code>desktop</code> packages are same, whereas configuration for <code>server</code>package is different. </p>
  
  <p>Now, how can I have that configuration done? One solution, that I can think of is that to have a <code>babel.config.js</code> at the root of monorepo which would have configurations for <code>mobile</code> and <code>desktop</code> packages and a separate configuration for <code>server</code> package in a <code>babel.config.js</code> at <code>server</code> package level.  I am not sure, can we even have multiple <code>babel.config.js</code>.</p>