我正在尝试在Visual Studio代码中的"浏览"选项卡上排除多个文件夹.为此,我在项目的根目录中添加了以下jsconfig.json:
{
"compilerOptions": {
"target": "ES6"
},
"exclude": [
"node_modules"
]
}
Run Code Online (Sandbox Code Playgroud)
但是"node_modules"文件夹仍然在目录树中可见.我究竟做错了什么?还有其他选择吗?