Skip to content

Commit

Permalink
docs: clarify linkTag (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Aug 5, 2019
1 parent f026429 commit 2098767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ The loader generate this:

Injects styles into the DOM using multiple `<link rel="stylesheet" href="path/to/file.css">` .

> ℹ️ The loader will dynamically insert the `<link href="path/to/file.css" rel="stylesheet">` tag at runtime via JavaScript. You should use [MiniCssExtractPlugin](https://webpack.js.org/plugins/mini-css-extract-plugin/) if you want to include a static `<link href="path/to/file.css" rel="stylesheet">`.
```js
import './styles.css';
import './other-styles.css';
Expand Down

0 comments on commit 2098767

Please sign in to comment.