@@ -55,18 +55,18 @@ You may need to specify loaders for images in your configuration (recommended `f
55
55
56
56
## Options
57
57
58
- | Name | Type | Default | Description |
59
- | :-------------------------------: | :-----------------: | :----------------------------------------------------------------------------------------------------: | :--------------------------------------- |
60
- | ** [ ` attributes ` ] ( #attributes ) ** | ` {Array\|String} ` | ` [':srcset', 'img:src', 'audio:src', 'video:src', 'track:src', 'embed:src', 'source:src','input:src'] ` | Enables/Disables attributes handling |
61
- | ** [ ` root ` ] ( #root ) ** | ` {String} ` | ` undefiend ` | Allow to handle root-relative attributes |
62
- | ** [ ` interpolate ` ] ( #interpolate ) ** | ` {Boolean\|String} ` | ` false ` | Allow to use expressions in HTML syntax |
63
- | ** [ ` minimize ` ] ( #minimize ) ** | ` {Boolean\|Object} ` | ` true ` in production mode, otherwise ` false ` | Tell ` html-loader ` to minimize HTML |
64
- | ** [ ` esModule ` ] ( #esmodule ) ** | ` {Boolean} ` | ` false ` | Use ES modules syntax |
58
+ | Name | Type | Default | Description |
59
+ | :-------------------------------: | :-----------------: | :------------------------------------------------------------------------------------------------------------------- : | :--------------------------------------- |
60
+ | ** [ ` attributes ` ] ( #attributes ) ** | ` {Array\|String} ` | ` [':srcset', 'img:src', 'audio:src', 'video:src', 'track:src', 'embed:src', 'source:src','input:src', 'object:data' ] ` | Enables/Disables attributes handling |
61
+ | ** [ ` root ` ] ( #root ) ** | ` {String} ` | ` undefiend ` | Allow to handle root-relative attributes |
62
+ | ** [ ` interpolate ` ] ( #interpolate ) ** | ` {Boolean\|String} ` | ` false ` | Allow to use expressions in HTML syntax |
63
+ | ** [ ` minimize ` ] ( #minimize ) ** | ` {Boolean\|Object} ` | ` true ` in production mode, otherwise ` false ` | Tell ` html-loader ` to minimize HTML |
64
+ | ** [ ` esModule ` ] ( #esmodule ) ** | ` {Boolean} ` | ` false ` | Use ES modules syntax |
65
65
66
66
### ` attributes `
67
67
68
68
Type: ` Array|String `
69
- Default: ` [':srcset', 'img:src', 'audio:src', 'video:src', 'track:src', 'embed:src', 'source:src','input:src'] `
69
+ Default: ` [':srcset', 'img:src', 'audio:src', 'video:src', 'track:src', 'embed:src', 'source:src', 'input:src', 'object:data '] `
70
70
71
71
You can specify which tag-attribute combination should be processed by this loader via the query parameter ` attributes ` .
72
72
Pass an array or a space-separated list of ` <tag>:<attribute> ` combinations. (Default: ` attributes=img:src ` )
0 commit comments