title: Is there an option in the tsconfig to compile a server and client to a public and private folder?
body: <p>I have a typescript project and I have the following file structure</p>
  
  <pre><code>builds
  -dev
  --public
  --private
  -production
  --public
  --private
  
  src
  -server
  -client
  
  tsconfig
  package.json 
  </code></pre>
  
  <p>I want my src/server to compile to the private folders in build and the src/client to the public folders. I'm using Parcel as my compiler which uses the tsc. So my question is, can this be done with the compiler options of a single tsconfig. Because I noticed that you can only specify 1 output directory. Or would I have to make 2 tsconfigs in the server and client directory and somehow use both? </p>
  
  <p>All the examples I could find were done with Webpack and I'm really set on using Parcel. 
  <a href="https://stackoverflow.com/questions/43571111/server-client-side-typescript-project-organization-compilation">Server &amp; client-side TypeScript project organization, compilation</a></p>