/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/link/test.config.js
10 строк
245 B
Alexander Akait
feat: support `link` stylesheet in HTML modules (#20941)
11 май 2026, 21:19
Не верифицирован
11 май 2026, 21:19
bd0e48f
Код
Авторство
О чём код?
"use strict"; module.exports = { moduleScope(scope) { const link = scope.window.document.createElement("link"); link.rel = "stylesheet"; link.href = `bundle${scope.__STATS_I__}.css`; scope.window.document.head.appendChild(link); } };