/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/postcss-modules-plugins/webpack.config.js
30 строк
574 B
Alexander Akait
feat: add `pure` parser option for css/module and css/auto (#20946)
12 май 2026, 21:44
Не верифицирован
12 май 2026, 21:44
d689afd
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { target: "web", mode: "development", experiments: { css: true }, module: { rules: [ { test: /postcss-modules-local-by-default\.global\.modules\.css$/, type: "css/global" }, { test: /postcss-modules-local-by-default\.local\.modules\.css$/, type: "css/module" }, { test: /postcss-modules-local-by-default\.pure\.modules\.css$/, // Pure is like a local but more strict parser: { pure: true }, type: "css/module" } ] } };