title: Importing an SVG File in an Angular CLI Project?
body: <p>It <a href="https://stackblitz.com/edit/angular-svg-circle?file=src%2Fapp%2Fapp.component.ts" rel="nofollow noreferrer">works fine in Stackblitz</a>.</p>
  
  <pre><code>import circle from './circle.svg';
  </code></pre>
  
  <p>But when I try the exact same import in an Angular CLI project like this:</p>
  
  <pre><code>import logo from './logo.svg';
  </code></pre>
  
  <p>VSCode displays the error:</p>
  
  <pre><code>Cannot find module './logo.svg'.ts(2307)
  </code></pre>
  
  <p>And Angular displays the error:</p>
  
  <pre><code>    ERROR in src/app/app.component.ts(5,18): error TS2307: Cannot find module './logo.svg'.
  </code></pre>
  
  <p>Thoughts?</p>