I use WebStorm to write Angular 4 project. I see that although I create TypeScript files and my application works fine, I don't see any JavaScript files in the project. WebStorm usually "translate" TypeScript files to JavaScript files. I don't know why it's not happening here.
Here is my settings for TypeScript:
This is my tsconfig.json:
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"dom"
]
}
}
If I look at the filesystem of the project, I see this:
There is no triangle next to .ts files.
However, I can see that dist folder includes some js files. Maybe it's a feature of Angular 4. It packs all TypeScript files and generates one bundled js file.

