Atom tsconfig 没有编译(当它 VScode 编译时)
Atom tsconfig not compiling (when it VScode it does)
在遇到一些问题后,我目前正在从 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.ts
和 someOtherFolder/application.ts
的引用,它们都有自己的引用。
有什么线索吗?谢谢!
刚看了问题。这是一个已报告的错误:https://github.com/TypeStrong/atom-typescript/issues/883 任何英雄都可以抢夺。
在遇到一些问题后,我目前正在从 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.ts
和 someOtherFolder/application.ts
的引用,它们都有自己的引用。
有什么线索吗?谢谢!
刚看了问题。这是一个已报告的错误:https://github.com/TypeStrong/atom-typescript/issues/883 任何英雄都可以抢夺。