title: Cannot find module or its corresponding type declarations when using my own library
body: <p>I created a workspace with applications and my first library which was created with the command <code>ng g library breeze-helpers</code> (breeze-helpers is the name of my library)</p>
  <p>Then I built the library with <code>ng build breeze-helpers --watch</code>. It is successfully compiled to the <code>dist</code> folder of my workspace.</p>
  <p>In the main tsconfig file the following was added automatically:</p>
  <pre><code>&quot;paths&quot;: {     
        &quot;breeze-helpers&quot;: [
          &quot;dist/breeze-helpers/breeze-helpers&quot;,
          &quot;dist/breeze-helpers&quot;
        ]
      }
  </code></pre>
  <p>I then imported the library in one of my applications :</p>
  <pre><code>import { BreezeHelpersModule } from 'breeze-helpers';
  
  @NgModule({
    declarations: [
      AppComponent,
   
    ],
    imports: [
      BreezeHelpersModule
    ],
  </code></pre>
  <p>and I can use it in my code :</p>
  <pre><code>import { EntityManagerService } from 'breeze-helpers';
  </code></pre>
  <p>Visual Studio Code provides me with intellisense and no errors is found. However when I build my application with <code>ng build my-app</code>  I get plenty of errors :</p>
  <p><a href="https://i.stack.imgur.com/4sBKj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4sBKj.png" alt="enter image description here" /></a></p>
  <p>I can't figure out what I'm missing. I've been following this <a href="https://angular.io/guide/creating-libraries" rel="nofollow noreferrer">documentation</a>.</p>