title: Vue component library without packing the supporting packages or compiling scss files
body: <p>I am tasked with figuring out how to publish a component library my team is working on. These components will be consumed by various internal applications within the company. I have the following constraints:</p>
  
  <ul>
  <li>The library will be consumed as an npm package from internal local
  repository. (this part I have figured out)</li>
  <li>Components should be
  compiled to JavaScript with typescript interface (*.d.ts) references
  within the package.</li>
  <li>No third-party packages (including Vue) should
  be bundled in. Rather, it’s desirable to have the dependent npm
  packages added to a project when the component is added and after <code>npm i</code>. </li>
  <li>The compiled css bundle should be included with the package but
  should be referenced separately within a project when it’s needed.</li>
  <li>The raw scss files that make up the component styles should be
  included with the package so they can be bundled into a project’s
  existing scss during a build.</li>
  </ul>
  
  <p>I’ve looked into <code>vue-cli-service build --target lib</code> to accomplish this, but it seems that it bundles and packs everything up. </p>
  
  <p>Is what I’m asking even possible? Is it an anti-pattern? Are there alternatives? I don’t know where to begin.</p>