Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Dec 19, 2016
1 parent 84dde4f commit 75eead8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/static-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ import foo from './assets/foo.png'
```

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).

---

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 comments on commit 75eead8

Please sign in to comment.