Skip to content

Commit 4cac434

Browse files
committed
readme
1 parent ab8b410 commit 4cac434

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

README.md

+2-10
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,9 @@ var css = require("css!./file.css");
99

1010
`@import` will be required with this css loader.
1111

12-
`url(...)` will be required with the loader specified in the options.
13-
If `options.css.requireUrl` is a string it will be prefixed to the required url.
14-
If it isn't a string `url(...)` will not be replaced.
15-
`options.css.requireUrl` defaults to `"file/auto!"`.
12+
`url(...)` will be required. You should define useful loaders by config.
1613

17-
A alternative to the file-loader is the
18-
[url-loader](https://github.com/sokra/webpack-url-loader) which can use Data Urls.
19-
The use it specify `"url/auto!"`.
20-
21-
Don't forget to polyfill `require` if you want to use it in node.
22-
See `webpack` documentation.
14+
Good loaders to require these files is the [file-loader](https://github.com/webpack/file-loader) and the [url-loader](https://github.com/webpack/url-loader).
2315

2416
## License
2517

0 commit comments

Comments
 (0)