Skip to content

Commit 272766f

Browse files
filipesilvahansl
authored andcommitted
docs(@angular/cli): document resource copy (#6323)
1 parent cf2352f commit 272766f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/documentation/build.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ Flag | `--dev` | `--prod`
8282
- Replaces `process.env.NODE_ENV` in modules with the `production` value (this is needed for some libraries, like react).
8383
- Runs UglifyJS on the code.
8484

85+
### CSS resources
86+
87+
Resources in CSS, such as images and fonts, will be copied over automatically as part of a build.
88+
If a resource is less than 10kb it will also be inlined.
89+
90+
You'll see these resources be outputted and fingerprinted at the root of `dist/`.
91+
8592
### Service Worker
8693

8794
There is experimental service worker support for production builds available in the CLI.

0 commit comments

Comments
 (0)