From 26c55dcb8689fa40a7f446d8ce0a00deba48140c Mon Sep 17 00:00:00 2001 From: Simon Males Date: Wed, 26 Oct 2016 23:43:05 +0200 Subject: [PATCH 1/2] Sample project asset array --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d6d0cad1c12f..5eda58d23a00 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,13 @@ source ~/.bash_profile ### Project assets -You can add any files you want copied as-is to `src/assets/`. +You can add any files you want copied as-is to `dist/`: +```json +"assets": [ + "assets", + "favicon.ico" +] +``` ### Global styles From c0ffceaf2070c53208bb7e249ab34937028d2f98 Mon Sep 17 00:00:00 2001 From: Simon Males Date: Wed, 2 Nov 2016 21:49:32 +0100 Subject: [PATCH 2/2] Tweaked assets sentence. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5eda58d23a00..c69835d29e1c 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ source ~/.bash_profile ### Project assets -You can add any files you want copied as-is to `dist/`: +You use the `assets` array in `angular-cli.json` to list files or folders you want to copy as-is when building your project: ```json "assets": [ "assets",