From 272766f11b8d9e0ae2df641c48e70336c8421d27 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Mon, 15 May 2017 22:23:19 +0100 Subject: [PATCH] docs(@angular/cli): document resource copy (#6323) --- docs/documentation/build.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/documentation/build.md b/docs/documentation/build.md index 2b3380cda0..cc5c845547 100644 --- a/docs/documentation/build.md +++ b/docs/documentation/build.md @@ -82,6 +82,13 @@ Flag | `--dev` | `--prod` - Replaces `process.env.NODE_ENV` in modules with the `production` value (this is needed for some libraries, like react). - Runs UglifyJS on the code. +### CSS resources + +Resources in CSS, such as images and fonts, will be copied over automatically as part of a build. +If a resource is less than 10kb it will also be inlined. + +You'll see these resources be outputted and fingerprinted at the root of `dist/`. + ### Service Worker There is experimental service worker support for production builds available in the CLI.