【发布时间】:2019-01-29 16:36:24
【问题描述】:
如何确认在构建后排除文件?
我的 tsconfig.json 文件是这样的
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
]
},
"exclude": [
"src/app/schemas/abc"
]
}
【问题讨论】:
-
你在使用 angular-cli 吗?
-
是的。我正在使用 angular-cli。
-
您能否详细说明问题所在并发布您的配置文件?请发布您的 tsconfig.app.json
-
请看一下。我已经更新了我的问题。
标签: angular typescript angular-cli