Atom tsconfig 不编译(当它 VScode 它这样做时)



我目前正在从VScode切换,因为它遇到了一些麻烦。

我的主要问题是在 VScode 中我的 TypeScript 可以完美编译,但在 Atom 中它什么也没做......

这是我的 tsconfig.json

{
  "compileOnSave": true,
  "compilerOptions": {
    "target": "es5",
    "removeComments": true,
    "outFile": "application.js",
    "sourceMap": true,
    "noImplicitAny": true
  },
  "files": [
    "app/application.ts"
  ],
  "atom": {
    "rewriteTsconfig": false,
    "formatOnSave": true
  }
}

所以当我做 F6 时,它说Building然后Build success,但我的 webroot 文件夹中没有application.js

结构如下所示:

-app
  -application.ts
  -someFolder
    -someComponent
      -someTs.ts
    -application.ts
  -someOtherFolder
    -someOtherComponent
      -someTs.ts
    -application.ts

所以我的app/application.ts里面有链接到someFolder/application.tssomeOtherFolder/application.ts的参考资料,它们都有它们的参考资料。

有什么线索吗?谢谢!

只是看了问题。这是一个报告的错误:https://github.com/TypeStrong/atom-typescript/issues/883 可供任何英雄争夺。

相关内容

最新更新