title: Field 'browser' doesn't contain a valid alias configuration when importing a feature module
body: <p>I built an Angular application [MASTER]. Inside of it, I would like to import another application built with a feature module [FEATURE_MODULE].</p>
  
  <p>To generate the FEATURE_MODULE, I followed this tutorial: <a href="https://angular-2-training-book.rangle.io/handout/modules/feature-modules.html" rel="nofollow noreferrer">Modules tutorial</a>. This exports a feature module called 'SharedModule' (see tutorial). I included the EagerComponent to this module in order to be imported into the MASTER.</p>
  
  <p>By other hand, I followed the steps mentioned inside this another tutorial to generate a library component (bundle): <a href="https://medium.com/@nikolasleblanc/building-an-angular-4-component-library-with-the-angular-cli-and-ng-packagr-53b2ade0701e" rel="nofollow noreferrer">How to build a component tutorial</a> </p>
  
  <p>Finally, I imported that component into MASTER but when I run it, Angular shows the below message.</p>
  
  <blockquote>
    <p>My question is:</p>
  </blockquote>
  
  <p>How can I import, and use, a component which is included inside a feature module?</p>
  
  <p>App.module.ts:</p>
  
  <pre><code>imports: [... , SharedModule.forRoot(), ...],
  declarations: [.., EagerComponent, ...]
  </code></pre>
  
  <p>The 'EagerComponent' is the component which I would like to use into MASTER.</p>
  
  <p>Output:</p>
  
  <blockquote>
    <p>looking for modules in C:\entorno\diciembreALG\src</p>
    
    <p>using description file: ...\package.json (relative path: ./src)</p>
    
    <p>Field 'browser' doesn't contain a valid alias configuration after using description file: ...\package.json (relative path: ./src)</p>
    
    <p>using description file: ...\package.json (relative path: ./src/lazy-eager/src/app/eager.component) no extension</p>
    
    <p>Field 'browser' doesn't contain a valid alias configuration          C:\entorno\diciembreALG\src\lazy-eager\src\app\eager.component doesn't</p>
    
    <p>exist
    .ts
                  Field 'browser' doesn't contain a valid alias configuration
                  ...\src\lazy-eager\src\app\eager.component.ts doesn't exist</p>
    
    <p>.js
                  Field 'browser' doesn't contain a valid alias configuration
                  ...\src\lazy-eager\src\app\eager.component.js doesn't exist</p>
    
    <p>as directory
                  ...\src\lazy-eager\src\app\eager.component doesn't exist</p>
  </blockquote>
  
  <p>Angular version:</p>
  
  <blockquote>
    <p>Angular CLI: 1.6.1</p>
    
    <p>Node: 9.1.0</p>
    
    <p>OS: win32 x64</p>
    
    <p>Angular: 5.1.1</p>
    
    <p>... animations, common, compiler, compiler-cli, core, forms</p>
    
    <p>... http, language-service, platform-browser</p>
    
    <p>... platform-browser-dynamic, router</p>
    
    <p>@angular/cdk: 5.0.1</p>
    
    <p>@angular/cli: 1.6.1</p>
    
    <p>@angular/material: 5.0.1</p>
    
    <p>@angular-devkit/build-optimizer: 0.0.36</p>
    
    <p>@angular-devkit/core: 0.0.22</p>
    
    <p>@angular-devkit/schematics: 0.0.42</p>
    
    <p>@ngtools/json-schema: 1.1.0</p>
    
    <p>@ngtools/webpack: 1.9.1</p>
    
    <p>@schematics/angular: 0.1.11</p>
    
    <p>@schematics/schematics: 0.0.11</p>
    
    <p>typescript: 2.4.2</p>
    
    <p>webpack: 3.10.0</p>
  </blockquote>