In the past, I utilized Visual Studio Code for Angular 2 development and had the ability to hide .js and .js.map files from the IDE. Now, I am working on a project using VS 2017 Professional with Typescript, Jasmine, Karma, and Angular 4. Task Runner, etc.
Currently, I need to be able to view and delete .js and .js.map files as Karma tends to cache them, causing inconvenience.
- I've come across suggestions related to project settings in VS
- Some recommend tinkering with tsconfig
- Could it be something in package.json?
After thorough examination of various files, I can't figure out why these specific files are not visible.
Here is my tsconfig.json
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"allowJs": true,
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"dom"
]
}
}
This specifies
allowJS : true
What other file(s) should I provide to get a clearer picture of the compilation/build process?