/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/context-modules/replacement-e/webpack.config.js
19 строк
385 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; const path = require("path"); const webpack = require("../../../../"); /** @type {import("../../../../").Configuration} */ module.exports = { resolve: { modules: ["...", path.resolve(__dirname, "new-context/modules")] }, plugins: [ new webpack.ContextReplacementPlugin( /replacement.e$/, "new-context", true, /^replaced$|^\.\/modules\/rep/ ) ] };