title: How to Include a css file in react and typescript npm package
body: <p>I am creating a series of components to be reused in the company I work for. We use typescript and so far I can create the components properly, transpile to javascript, and publish to npm. I only use the command line <code>tsc</code>, I am not using webpack. My problem relies in a specific component that uses a css file. When I run the actual app that installs my npm package, it throws an error:</p>
  
  <p><code>
  ./~/my-common-components/dist/DataTable.js
  Module not found: Can't resolve './DataTable.css' in '.\AdminPortal\admin-portal\node_modules\common-components\dist'
  </code></p>
  
  <p>When I look at the dist folder of my transpiled code, the css file is not there.
  I tried adding 'files' to the <code>tsconfig.json</code> file and it does add it, but with the exact same path (<code>src\DataTable.css</code> in stead of <code>dist\DataTable.css</code>)</p>
  
  <p>Is there a way to include that file in the final package without using webpack?</p>