<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong><br>
I have created the file <code class="notranslate">.babelrc</code> in the root of my React native project and install all related node_modules related to that. Go to definition with VSC with any of these paths not working. I have provided example below in the file with the supported attached png.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { getMediaAll } from 'actions/categories';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">getMediaAll</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'actions/categories'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected behavior/code</strong><br>
When I import any variable with the file path defined with the below parameters it should to go the definition with VSC.</p>
<p dir="auto"><strong>Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)</strong></p>
<ul dir="auto">
<li>Filename: <code class="notranslate">.babelrc</code></li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
    &quot;plugins&quot;: [
        [
            &quot;module-resolver&quot;,
            {
                &quot;root&quot;: [&quot;./src&quot;],
                &quot;extensions&quot;: [&quot;.js&quot;, &quot;.ios.js&quot;, &quot;.android.js&quot;],
                &quot;alias&quot;: {
                    &quot;assets&quot;: &quot;./src/assets&quot;,
                    &quot;components&quot;: &quot;./src/components&quot;,
                    &quot;config&quot;: &quot;./src/config&quot;,
                    &quot;navigation&quot;: &quot;./src/navigation&quot;,
                    &quot;atoms&quot;: &quot;./src/atoms&quot;,
                    &quot;actions&quot;: &quot;./src/redux/actions&quot;,
                    &quot;reducers&quot;: &quot;./src/redux/reducers&quot;,
                    &quot;screens&quot;: &quot;./src/screens&quot;,
                    &quot;services&quot;: &quot;./src/services&quot;,
                    &quot;theme&quot;: &quot;./src/theme&quot;
                }
            }
        ]
    ]
}"><pre class="notranslate"><span class="pl-kos">{</span>
    <span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span>
        <span class="pl-kos">[</span>
            <span class="pl-s">"module-resolver"</span><span class="pl-kos">,</span>
            <span class="pl-kos">{</span>
                <span class="pl-s">"root"</span>: <span class="pl-kos">[</span><span class="pl-s">"./src"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
                <span class="pl-s">"extensions"</span>: <span class="pl-kos">[</span><span class="pl-s">".js"</span><span class="pl-kos">,</span> <span class="pl-s">".ios.js"</span><span class="pl-kos">,</span> <span class="pl-s">".android.js"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
                <span class="pl-s">"alias"</span>: <span class="pl-kos">{</span>
                    <span class="pl-s">"assets"</span>: <span class="pl-s">"./src/assets"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"components"</span>: <span class="pl-s">"./src/components"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"config"</span>: <span class="pl-s">"./src/config"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"navigation"</span>: <span class="pl-s">"./src/navigation"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"atoms"</span>: <span class="pl-s">"./src/atoms"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"actions"</span>: <span class="pl-s">"./src/redux/actions"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"reducers"</span>: <span class="pl-s">"./src/redux/reducers"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"screens"</span>: <span class="pl-s">"./src/screens"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"services"</span>: <span class="pl-s">"./src/services"</span><span class="pl-kos">,</span>
                    <span class="pl-s">"theme"</span>: <span class="pl-s">"./src/theme"</span>
                <span class="pl-kos">}</span>
            <span class="pl-kos">}</span>
        <span class="pl-kos">]</span>
    <span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  System:
    OS: macOS 10.15.1
  Binaries:
    Node: 10.16.3 - /usr/local/bin/node
    npm: 6.11.3 - ~/.npm-packages/bin/npm
  npmPackages:
    babel: ^6.23.0 =&gt; 6.23.0 
    babel-plugin-module-alias: ^1.6.0 =&gt; 1.6.0 
    babel-plugin-module-resolver: ^3.2.0 =&gt; 3.2.0 
    babel-plugin-transform-remove-console: 6.9.4 =&gt; 6.9.4 
    babel-preset-expo: ^8.0.0 =&gt; 8.0.0 
    react-native: https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz =&gt; 0.61.4 "><pre class="notranslate"><code class="notranslate">  System:
    OS: macOS 10.15.1
  Binaries:
    Node: 10.16.3 - /usr/local/bin/node
    npm: 6.11.3 - ~/.npm-packages/bin/npm
  npmPackages:
    babel: ^6.23.0 =&gt; 6.23.0 
    babel-plugin-module-alias: ^1.6.0 =&gt; 1.6.0 
    babel-plugin-module-resolver: ^3.2.0 =&gt; 3.2.0 
    babel-plugin-transform-remove-console: 6.9.4 =&gt; 6.9.4 
    babel-preset-expo: ^8.0.0 =&gt; 8.0.0 
    react-native: https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz =&gt; 0.61.4 
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5234185/75135928-1103b800-5709-11ea-996b-c40dfea3bae4.png"><img src="https://user-images.githubusercontent.com/5234185/75135928-1103b800-5709-11ea-996b-c40dfea3bae4.png" alt="Github-Babelrc" style="max-width: 100%;"></a></p>
<p dir="auto">I deconstructed my Create-React-App with Webpack 4 &amp; Babel 7. The first time I ran the command "npm run build" it worked and created a new build folder. Now after the first time I am trying to run the command again and I am getting the error blow.</p>
<p dir="auto">ERROR in ./src/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js):</p>
<p dir="auto">I searched for the solution but all I could find was babel versions discrepancy in Package.json file, something that I don't seem to have.</p>