/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/auto-loader/webpack.config.js
19 строк
434 B
Alexander Akait
feat: default experiments.css/html/asyncWebAssembly to "auto" (#21365)
08 июл 2026, 23:22
Не верифицирован
08 июл 2026, 23:22
a3773f5
Код
Авторство
О чём код?
"use strict"; const path = require("path"); // A loader is registered for `.css`, but `experiments.css` is left at its "auto" // default → the built-in CSS type stays off so the loader keeps handling the file. /** @type {import("../../../../").Configuration} */ module.exports = { target: "web", mode: "development", module: { rules: [ { test: /\.css$/i, use: [path.resolve(__dirname, "loader.js")] } ] } };