docs: guide/html-and-static-assets: Fix typos (#1849)

This commit is contained in:
Tobias Bieniek
2018-07-14 15:07:35 +02:00
committed by Evan You
parent 7c7ca9f30c
commit 9b75658eb0

View File

@@ -108,9 +108,9 @@ Internally, we use `file-loader` to determine the final file location with versi
### The `public` Folder
Any static assets placed in the `public` folder will simply be copied and not go through webpack. You need to reference to them using absolute paths.
Any static assets placed in the `public` folder will simply be copied and not go through webpack. You need to reference them using absolute paths.
Note we recommended importing assets as part of your module dependency graph so that they will go through webpack with the following benefits:
Note we recommend importing assets as part of your module dependency graph so that they will go through webpack with the following benefits:
- Scripts and stylesheets get minified and bundled together to avoid extra network requests.
- Missing files cause compilation errors instead of 404 errors for your users.