Skip to content

Commit 75eead8

Browse files
committed
update doc
1 parent 84dde4f commit 75eead8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/static-files.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ import foo from './assets/foo.png'
88
```
99

1010
But we also use [raw-loader](https://github.com/webpack/raw-loader) to handle `.svg` files, it would direcly give you the raw content of the SVG so that you can inline it to your component, since [Inline SVG is Best SVG](https://www.youtube.com/watch?v=af4ZQJ14yu8).
11+
12+
---
13+
14+
For something like **favicon.ico**, we use [copy-webpack-plugin](https://github.com/kevlened/copy-webpack-plugin) to copy everything inside `./static` folder to the root of dist folder.

0 commit comments

Comments
 (0)