/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/import-custom-loader/webpack.config.js
21 строка
479 B
Alexander Akait
Experimental HTML: parser/generator options, compilation hooks, and fixes (#21441)
19 июл 2026, 23:58
Не верифицирован
19 июл 2026, 23:58
cb904da
Код
Авторство
О чём код?
"use strict"; // A custom loader is attached to CSS `@import` requests through the // `dependency: "css-import"` rule condition, so developers can plug their own // loader in for `@import`ed resources without affecting JS-imported CSS. /** @type {import("../../../../").Configuration} */ module.exports = { target: "web", mode: "development", module: { rules: [ { dependency: "css-import", use: ["./import-loader"] } ] }, experiments: { css: true } };