/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/sharing/provide-module/webpack.config.js
44 строки
779 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; const { ProvideSharedPlugin } = require("../../../../").sharing; /** @type {import("../../../../").Configuration} */ module.exports = { plugins: [ new ProvideSharedPlugin({ shareScope: "test-scope", provides: [ "./test1", { "./test2-wrong": { shareKey: "test2", shareScope: "other-scope", version: "1.2.3" } }, "package" ] }), new ProvideSharedPlugin({ provides: ["package"] }), new ProvideSharedPlugin({ shareScope: "other-scope", provides: { "./test2": { shareKey: "test2", version: "1.3.0" } } }), new ProvideSharedPlugin({ provides: { "./test2-wrong": { shareKey: "test2", shareScope: "other-scope", version: "1.1.9" } } }) ] };