/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/loader-import-module/css-url-cjs/loader.js
10 строк
307 B
Alexander Akait
fix: resolve asset urls in build-time executed modules (#21672)
10 авг 2026, 21:06
Не верифицирован
10 авг 2026, 21:06
4e046ac
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../").PitchLoaderDefinitionFunction} */ exports.pitch = async function (remaining) { const result = await this.importModule( `${this.resourcePath}.webpack[javascript/auto]!=!${remaining}`, { baseUri: "webpack://app" } ); return result.default || result; };