/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/fixtures/loader-runner/dependencies-loader.js
14 строк
360 B
Sebastian Beltran
refactor: inline loader-runner package into core (#21249)
11 июл 2026, 16:14
Не верифицирован
11 июл 2026, 16:14
3d69e87
Код
Авторство
О чём код?
module.exports = function (source) { this.clearDependencies(); this.addDependency("a"); this.addDependency("b"); this.addContextDependency("c"); this.addMissingDependency("d"); return ( source + "\n" + JSON.stringify(this.getDependencies()) + JSON.stringify(this.getContextDependencies()) + JSON.stringify(this.getMissingDependencies()) ); };