Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
docs: improve information about loader order (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Feb 12, 2019
1 parent c05e5bc commit 0622dc7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -65,12 +65,18 @@ And run `webpack` via your preferred method.

## Examples

Inline.
### Inline

```js
import txt from 'raw-loader!./file.txt';
```

Beware, if you already define loader(s) for extension(s) in `webpack.config.js` you should use:

```js
import css from '!!raw-loader!./file.css'; // Adding `!!` to a request will disable all loaders specified in the configuration
```

## License

#### [MIT](./LICENSE)
Expand Down

0 comments on commit 0622dc7

Please sign in to comment.