title: npm: when i use npm link a dependency package, dependency package has path alias
body: <p>when i use npm link a dependency package.
  dependency package has a webpack config path alias</p>
  <pre><code>    extensions: [&quot;.tsx&quot;, &quot;.js&quot;, &quot;.ts&quot;],
      alias: { &quot;@&quot;: path.resolve(__dirname, &quot;src&quot;) },
  }
  </code></pre>
  <p>throw a error:
  Module not found: Error: Can't resolve '@/sub' in '/Users/zhangyuqing/Documents/lib-demo/src'</p>