/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/parser-sources-disabled/page.html
17 строк
606 B
Alexander Akait
feat(html): add module.parser.html.sources option (#21022)
25 май 2026, 23:05
Не верифицирован
25 май 2026, 23:05
224f3ee
Код
Авторство
О чём код?
<!DOCTYPE html> <html> <head> <link rel="icon" href="./icon.png"> <link rel="stylesheet" href="./styles.css"> <script src="./entry.js"></script> <script>globalThis.__inlineSourcesDisabled = 42;</script> </head> <body> <img src="./image.png" alt="image"> <!-- `constructor` is an Object.prototype key; a plain-object lookup table would resolve it to the `Object` constructor (truthy) and bypass `sources: false`, turning this into a bogus chunk entry for a nonexistent file. The null-prototype tables must leave it be. --> <constructor name="./proto-bypass.js"></constructor> </body> </html>