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

Commit 0622dc7

Browse files
authoredFeb 12, 2019
docs: improve information about loader order (#65)
1 parent c05e5bc commit 0622dc7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,18 @@ And run `webpack` via your preferred method.
6565

6666
## Examples
6767

68-
Inline.
68+
### Inline
6969

7070
```js
7171
import txt from 'raw-loader!./file.txt';
7272
```
7373

74+
Beware, if you already define loader(s) for extension(s) in `webpack.config.js` you should use:
75+
76+
```js
77+
import css from '!!raw-loader!./file.css'; // Adding `!!` to a request will disable all loaders specified in the configuration
78+
```
79+
7480
## License
7581

7682
#### [MIT](./LICENSE)

0 commit comments

Comments
 (0)
This repository has been archived.