I'm in the process of setting up a Typescript project in WebStorm, where I want the files to be transpiled into a dist folder.
This is my current project folder structure:
projectroot/src/subfolder/subfolder/index.ts
What I aim for is to have the files placed like this upon transpilation:
projectroot/dist/subfolder/subfolder/index.js
In WebStorm, my output path is configured as follows:
$FileDir$/../dist/
However, instead of retaining the subfolder structure, the files end up here:
projectroot/dist/index.js
How can I ensure that the subfolder structure is maintained during the transpilation process?