/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/pure-parser-options/invalid.module.css
28 строк
475 B
Alexander Akait
feat: add `pure` parser option for css/module and css/auto (#20946)
12 май 2026, 21:44
Не верифицирован
12 май 2026, 21:44
d689afd
Код
Авторство
О чём код?
/* `@import` consuming its own `;` shouldn't prepend its text to the next prelude error (Copilot review #2). */ @import "./imported.css"; :global(.after-import) { color: red; } body { color: red; } .ok, section { color: blue; } :global(.only-global) { color: orange; } /* Mixed comma list with a pure trailing selector must not be treated as pure for nested selectors (Copilot review #1). */ :global(.mixed-global), .mixed-local { span { color: green; } }