Skip to content

Commit 7b0ea1d

Browse files
authored
Clarify behavior of URL option
1 parent 13b7458 commit 7b0ea1d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ module.exports = {
125125
Type: `Boolean|Function`
126126
Default: `true`
127127

128-
Enables/Disables `url`/`image-set` functions handling.
129-
Control `url()` resolving. Absolute paths and root-relative URLs now resolving(Version [4.0.0](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#400-2020-07-25) and above).
128+
Enables/Disables `url`/`image-set` functions handling. If set to `false`, `css-loader` will not parse any paths specified in `url` or `image-set`. A function can also be passed to control this behavior dynamically based on the path to the asset. Starting with (version [4.0.0](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#400-2020-07-25), absolute paths are parsed relative to the server root.
130129

131130
Examples resolutions:
132131

0 commit comments

Comments
 (0)