/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/cases/loaders/utils/loader.js
14 строк
344 B
Tobias Koppers
test typings and fix type problems in loaders in the test suite
22 апр 2021, 22:48
22 апр 2021, 22:48
4e70b37
Код
Авторство
О чём код?
/** @type {import("../../../../").LoaderDefinition} */ module.exports = function () { return `module.exports = { request1: ${JSON.stringify( this.utils.contextify( this.context, this.utils.absolutify(this.context, "./index.js") ) )}, request2: ${JSON.stringify( this.utils.contextify(this.context, this.resourcePath) )} }`; };