You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/static-files.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,3 +8,7 @@ import foo from './assets/foo.png'
8
8
```
9
9
10
10
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