私のアプリケーションでは、angular-cliによって生成されたファイルに、操作を制御するファイルangular-cli.json
があります。ngビルドを実行すると、ルートsrcフォルダ内のいくつかのフォルダを除外する方法
しかし、ルートに指定されているsrc内のフォルダを除外するにはどうすればよいですか?
"apps": [{
"root": "src",
"outDir": "dist",
"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"
}
}],
"exclude": [ "folder_name1", "folder_name1" ]
のようなものを追加することが、私はこの中に同意する任意の解決策を見つけることができません考えてイム。