Angular 如何在角度应用中使用AWS CodeStar?

Angular 如何在角度应用中使用AWS CodeStar?,angular,amazon-web-services,continuous-integration,continuous-deployment,aws-codestar,Angular,Amazon Web Services,Continuous Integration,Continuous Deployment,Aws Codestar,有人能告诉我如何为角度应用配置AWS CodeStar项目吗 目前没有angular的特定项目模板。但是我看到Node.js+Lambda项目模板就在那里 我不知道它是如何工作的,因为每当我做一些更改时,我总是将dist/folder下的文件部署到服务器上 有可能在角度项目中使用CodeStar吗 提前谢谢 我正在使用Angular CLI。使用Node.js+Lamda模板,让构建生成公共文件夹 转到.angular-cli.json文件,将apps.outDir修改为“./public”,而

有人能告诉我如何为角度应用配置AWS CodeStar项目吗

目前没有angular的特定项目模板。但是我看到Node.js+Lambda项目模板就在那里

我不知道它是如何工作的,因为每当我做一些更改时,我总是将dist/folder下的文件部署到服务器上

有可能在角度项目中使用CodeStar吗


提前谢谢

我正在使用Angular CLI。使用Node.js+Lamda模板,让构建生成公共文件夹

转到.angular-cli.json文件,将apps.outDir修改为“./public”,而不是“dist”

“应用程序”:[
{
“根”:“src”,

“outDir”:“./public”,一旦配置正确,它肯定是可能的。我现在正在研究它。自从你发布这篇文章以来,你有什么进展吗?
"apps": [
{
  "root": "src",
  "outDir": "../public", <-- RIGHT HERE (it tells the build where to compile to)
  "assets": [
    "assets",
    "favicon.ico"
  ],
  "index": "index.html",
  "main": "main.ts",
  "polyfills": "polyfills.ts",
  "test": "test.ts",
  "tsconfig": "tsconfig.app.json",
  "testTsconfig": "tsconfig.spec.json",
  "prefix": "app",
  "styles": [
    "styles.css"
  ],
  "scripts": [],
  "environmentSource": "environments/environment.ts",
  "environments": {
    "dev": "environments/environment.ts",
    "prod": "environments/environment.prod.ts"
  }
}