Angular Typescript tsconfig filsGlob未复制到应用程序文件夹的根目录

Angular Typescript tsconfig filsGlob未复制到应用程序文件夹的根目录,angular,typescript,Angular,Typescript,我正在尝试编译所有ts文件,并将其从dev文件夹复制到app文件夹。 所以我想要的是将所有编译过的文件复制到app文件夹的根目录中,比如app/app.component.js,但目前的结果是app/dev/app.component.js 我怎样才能做到这一点 这是我目前的tsconfig { "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node",

我正在尝试编译所有ts文件,并将其从
dev
文件夹复制到
app
文件夹。
所以我想要的是将所有编译过的文件复制到app文件夹的根目录中,比如
app/app.component.js
,但目前的结果是
app/dev/app.component.js

我怎样才能做到这一点

这是我目前的tsconfig

{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [ "es2015", "dom" ],
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true,
    "outDir": "./app"
  },
  "filesGlob": [
    "./dev/**/*.ts",
    "!./node_modules/**/*.ts"
  ],
  "exclude": [
    "node_modules",
    "typings/main",
    "typings/main.d.ts"
  ],
  "atom": {
    "rewriteTsconfig": true
  }
}
您考虑过“rootDir”选项吗