/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/source-map-inline-names/remote-loader.js
14 строк
397 B
Alexander Akait
fix(css): name inlined CSS source map sources and honor hidden devtools (#21558)
30 июл 2026, 16:44
Не верифицирован
30 июл 2026, 16:44
029fd0f
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../").LoaderDefinition} */ module.exports = function loader(source) { // Reports an absolute URL source, like a loader pulling in a remote stylesheet. this.callback(null, source, { version: 3, file: "", sources: ["https://example.com/remote.css"], sourcesContent: [".remote-rule {\n\tcolor: red;\n}\n"], names: [], mappings: "AAAA" }); };