typescript 文件编译产生的 js 和 map 文件不需要手工编辑,打开【文件】【首选项】【工作区设置】,放入以下代码:

// 将设置放入此文件中以覆盖默认值和用户设置。
{
    "files.exclude": {
        // exclude .js and .js.map files, when in a TypeScript project
        "node_modules": true,
        "**/*.js": { "when": "$(basename).ts"},
        "**/*.js.map": true
    }
}

 

相关文章:

  • 2022-01-08
  • 2021-07-12
  • 2021-08-01
  • 2021-06-26
  • 2021-04-01
  • 2022-12-23
  • 2022-03-03
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2022-02-12
  • 2021-05-19
  • 2021-11-23
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案