I want TypeScript to allowJS and I want it to type check those files, so I add // @ts-check at the top of the files if they are *.js 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 *.js files but I would then want it to ignore files that are meant for building my site. Like the *.html.js files should be ignored and a helper file that I am using.
I put "src/**/*.html.js" in the tsconfig.json file but it still copies over those files. How can I stop TypeScript from copying those files?
I've tried ignoring "src/**/*.js" and "src/layouts/*" but neither works.
Here's my project. https://github.com/jon49/MealPlanner/blob/master/tsconfig.json#L31
/public? Or how do I see if it works?public\app\layoutsthat whole directory shouldn't be there. And theindex.html.jsfile inpublic\app\meal-plans\edit. Thanks for taking a look at this!