You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**[`root`](#root)**|`{String}`|`undefiend`| Allow to handle root-relative attributes |
62
62
|**[`interpolate`](#interpolate)**|`{Boolean\|String}`|`false`| Allow to use expressions in HTML syntax |
63
63
|**[`minimize`](#minimize)**|`{Boolean\|Object}`|`true` in production mode, otherwise `false`| Tell `html-loader` to minimize HTML |
64
64
|**[`esModule`](#esmodule)**|`{Boolean}`|`false`| Use ES modules syntax |
65
65
66
-
### `attrs`
66
+
### `attributes`
67
67
68
68
Type: `Array|String`
69
69
Default: `['img:src']`
70
70
71
-
You can specify which tag-attribute combination should be processed by this loader via the query parameter `attrs`.
72
-
Pass an array or a space-separated list of `<tag>:<attribute>` combinations. (Default: `attrs=img:src`)
71
+
You can specify which tag-attribute combination should be processed by this loader via the query parameter `attributes`.
72
+
Pass an array or a space-separated list of `<tag>:<attribute>` combinations. (Default: `attributes=img:src`)
73
73
74
-
If you use `<custom-elements>`, and lots of them make use of a `custom-src` attribute, you don't have to specify each combination `<tag>:<attribute>`: just specify an empty tag like `attrs=:custom-src` and it will match every element.
74
+
If you use `<custom-elements>`, and lots of them make use of a `custom-src` attribute, you don't have to specify each combination `<tag>:<attribute>`: just specify an empty tag like `attributes=:custom-src` and it will match every element.
0 commit comments