title: How to make babel transpile modules linked using "npm link"
body: <p>I have a lot of code in my currently project(my-project) that will be needed in a new one. This code has been written in ES6 and transpiled after with babel. </p>
  
  <p>I've created a module called "my-module" with this shared code and linked it to "my-project" using <code>npm link</code></p>
  
  <p>The problem is that when I start the project, the code from "my-module" is not beening tranpiled and throws an error right at the import statement.</p>
  
  <p>The code inside my-module will be edited a lot. How to make it works?</p>
  
  <p><strong>package.json</strong></p>
  
  <pre><code>  "scripts": {
      "start": "nodemon bin/dev",
      "clean": "rm -rf dist",
      "build": "yarn run clean &amp;&amp; mkdir dist &amp;&amp; babel src -s -d dist",
      "production": "yarn run build &amp;&amp; node bin/production"
    },
  </code></pre>
  
  <p><strong>.babelrc</strong></p>
  
  <pre><code>{
    "presets": ["es2015", "stage-2"]
  }
  </code></pre>