/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/script-src/page.html
22 строки
822 B
Alexander Akait
feat: add support for `<script>` and `<link rel=modulepreload>` in HTML modules (#20949)
14 май 2026, 15:01
Не верифицирован
14 май 2026, 15:01
3c1be18
Код
Авторство
О чём код?
<!DOCTYPE html> <html> <head> <title>Test</title> <link rel="stylesheet" href="./style.css"> <link rel="icon" href="./icon.png"> <script src="./entry.js"></script> </head> <body> <h1>Hello</h1> <script src="./other.js"></script> <script type="module" src="./module-entry.js"></script> <script type="text/javascript" src="./classic-typed.js"></script> <script src="data:text/javascript,console.log(1)"></script> <script src="data:application/javascript;base64,Y29uc29sZS5sb2coMSk="></script> <!-- Non-JS script types must NOT be bundled as JS entries. They flow through the regular HtmlSourceDependency path: rewritten as an asset URL, the attribute stays as-is. --> <script type="application/ld+json" src="./jsonld-data.jsonld"></script> <script type="importmap" src="./importmap.json"></script> </body> </html>