title: Set scss path using alias in angular-cli library project
body: <p>I'm creating a library project using angular-cli. By following the instructions from the <a href="https://github.com/angular/angular-cli/wiki/stories-create-library" rel="noreferrer">angular docs</a>, I end up having one <code>./root/src/app</code> folder where I can put a test application demonstrating the capabilities of my library, and one <code>./root/projects/library-name</code> folder containing the functionality of my library.</p>
  
  <p>Now, if I in my <code>./root/src/app</code> want to import modules/components/classes etc, angular-cli allready has set up my tsconfig.json for me, with a key/value paths config. </p>
  
  <pre><code>{
    "compilerOptions": {
      "paths": {
        "my-library/*": [
          "dist/my-library/*"
        ]
      }
    }
  }
  </code></pre>
  
  <p>This will for all purposes regarding our <code>./root/src/app</code> mimic our library being installed as a node_module. </p>
  
  <p>So even if the library is built to <code>./root/dist/library-name</code>, the following works great in my test app:</p>
  
  <pre><code>import { MyLibraryModule } from 'library-name';
  </code></pre>
  
  <p><strong>Problem</strong></p>
  
  <p>SCSS does not conform to the same rules as described under tsconfig.json. 
  If my library contains some scss I wish to make available for consumers of my lib, I can do that. Everyone installing my library can reach my scss through </p>
  
  <pre><code>@import '~library-name/scss';
  </code></pre>
  
  <p>but my test app cannot.</p>
  
  <p><strong>Question</strong></p>
  
  <p>How can I configure my scss preprocessor config in <code>angular.json</code> in such a way that it mimics what angular-cli has done with my <code>tsconfig.json</code>, but for scss? In other words; how can I configure angular-cli to set up a directory alias for my library build output?</p>
  
  <p><strong>EDIT</strong> Just to clarify, my scss is reachable once the library is published. No problem when it is consumed by other applications. My problem is reaching the published scss inside my <code>./root/src/app</code> test application.</p>