【发布时间】:2018-01-18 17:10:24
【问题描述】:
我对 AOT 编译有疑问。当我运行构建任务时,它会询问我一些新的组件名称。这将是 CI 的一个问题。这是Example。
我的 tsconfig.json 文件:
{
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [ "es6", "dom" ],
"mapRoot": "./",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"target": "es5",
"typeRoots": [
"./node_modules/@types"
],
"types": [
"node"
],
"noUnusedLocals": true,
"pretty": true,
"removeComments": true
},
"angularCompilerOptions": {
"genDir": ".",
"entryModule": "src/app/app.module#AppModule"
}
}
有人可以建议如何避免输入此名称吗?`
【问题讨论】:
标签: angular angular2-aot