I would like to hide the javascript files generated from the typescript files
This works perfectly:
With the following files structure:
(I have removed the exclude js files settings to show the structure)
However, if I change the file structure this way
The javascript files are not hidden
Anyone can help?
You can hide the dist
folder. Better yet, I just exclude them from search:
// .vscode/settings.json
{
"search.exclude": {
"dist": true
}
}
Why don't you try this, Open your workspace settings file (.vscode/settings.json):
This will hide js files in every folder and it works even if you rename your dist
folder to something else in future.
{
"files.exclude": {
"**/*.js": true,
"**/*.map": true
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.