2016-10-07 4 views
0

今回はAngular CLIを使用して複数のアプリケーションノードをコンパイルする方法はありますか?複数のAngular 2モジュールをangle-cliでコンパイルするにはどうすればよいですか?

"ng build -w"を実行しようとすると、 "angular-cli.json"ファイルの "apps"ノードの最初の "app"が見つかります。

"apps": [ 
{ 
    "root": "src", 
    "outDir": "dist/backoffice", 
    "assets": "assets", 
    "index": "index.html", 
    "main": "main.ts", 
    "test": "test.ts", 
    "tsconfig": "tsconfig.json", 
    "prefix": "app", 
    "mobile": false, 
    "styles": [ 
    "styles.css" 
    ], 
    "scripts": [], 
    "environments": { 
    "source": "environments/environment.ts", 
    "dev": "environments/environment.ts", 
    "prod": "environments/environment.prod.ts" 
    } 
}, 
{ 
    "root": "someOtherApp", 
    "outDir": "dist/someOtherApp", 
    "assets": "assets", 
    "index": "index.html", 
    "main": "someOtherApp.ts", 
    "test": "someOtherApp.ts", 
    "tsconfig": "tsconfig.json", 
    "prefix": "app", 
    "mobile": false, 
    "styles": [ 
    "styles.css" 
    ], 
    "scripts": [], 
    "environments": { 
    "source": "environments/environment.ts", 
    "dev": "environments/environment.ts", 
    "prod": "environments/environment.prod.ts" 
    } 
} 

]

第二アプリケーション "someOtherAppは" 右後でコンパイルされ始めるべきではないのですか?

答えて

関連する問題