I encountered an issue while trying to test a website. Despite successfully compiling my Typescript files in Visual Studio 2022, it appears that my site was unable to locate these TS files.
Spotting the problem in the screenshot, it seems that the TSScripts folder is in a problematic state.
I suspect this could be attributed to an error or misconfiguration in my tsconfig.json file. Here is its current content:
{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "ES6",
"outDir": "wwwroot/js",
"module": "ES6",
"esModuleInterop": true
},
"include": [
"TSScripts/**/*"
],
"exclude": [
"node_modules",
"wwwroot"
]
}
Any assistance with resolving this issue would be greatly appreciated.
Thank you,
Philippe