/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/cache-dependencies/managed-items/loader.js
8 строк
279 B
Tobias Koppers
test typings and fix type problems in loaders in the test suite
22 апр 2021, 22:48
22 апр 2021, 22:48
4e70b37
Код
Авторство
О чём код?
const path = require("path"); /** @type {import("../../../../").LoaderDefinition} */ module.exports = function (source) { this.addDependency(path.resolve(__dirname, "node_modules/package/extra.js")); this.addDependency(path.resolve(__dirname, "extra.js")); return source; };