/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/hotCases/css/css-entry-mini-extract/test.config.js
11 строк
267 B
Xiao
fix: prevent empty JS file generation for CSS-only entry points (#20454)
16 фев 2026, 16:15
Не верифицирован
16 фев 2026, 16:15
6dec682
Код
Авторство
О чём код?
"use strict"; module.exports = { moduleScope(scope) { const link = scope.window.document.createElement("link"); link.rel = "stylesheet"; link.href = "https://test.cases/path/css-entry.css"; scope.window.document.head.appendChild(link); }, env: "jsdom" };