Commit 596fbe3
committed
docs(magic-comments): document webpackIgnore support in HTML modules
Webpack 5.107 supports the webpackIgnore magic comment inside HTML
modules (when experiments.html is enabled). Placing
<!-- webpackIgnore: true --> before a tag skips URL resolution for its
src/href/srcset attributes, leaving the tag untouched in the emitted
HTML. Adds a new HTML Usage section under the existing webpackIgnore
docs in api/module-methods.
Refs: webpack/webpack#209501 parent f992f03 commit 596fbe3
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
186 | 202 | | |
187 | 203 | | |
188 | 204 | | |
| |||
0 commit comments