title: Exclude TypeScript Compiler from copying *.html.js files
body: <p>I want TypeScript to <code>allowJS</code> and I want it to type check those files, so I add <code>// @ts-check</code> at the top of the files if they are <code>*.js</code> files. But I don't want the TypeScript compiler to copy those files to the output. I'll do that myself. I would be OK with TypeScript copying the <code>*.js</code> files but I would then want it to ignore files that are meant for building my site. Like the <code>*.html.js</code> files should be ignored and a helper file that I am using.</p>
  
  <p>I put <code>"src/**/*.html.js"</code> in the <code>tsconfig.json</code> file but it still copies over those files. How can I stop <code>TypeScript</code> from copying those files?</p>
  
  <p>I've tried ignoring <code>"src/**/*.js"</code> and <code>"src/layouts/*"</code> but neither works.</p>
  
  <p>Here's my project. <a href="https://github.com/jon49/MealPlanner/blob/master/tsconfig.json#L31" rel="nofollow noreferrer">https://github.com/jon49/MealPlanner/blob/master/tsconfig.json#L31</a></p>