0
我试图编译和复制所有ts文件从dev
文件夹到app
文件夹。
所以我想是所有已编译的文件复制到应用程序文件夹的根,像app/app.component.js
,但目前的结果是app/dev/app.component.js
Typescript tsconfig filsGlob不复制到应用程序文件夹的根目录
我怎样才能做到这一点?
这是我目前的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
}
}