/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/issue-7577/webpack.config.js
44 строки
601 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; const base = { mode: "production", optimization: { moduleIds: "named", chunkIds: "named", runtimeChunk: true, splitChunks: { minSize: 0, chunks: "all", cacheGroups: { all: { priority: -30 } } } } }; /** @type {import("../../../").Configuration[]} */ module.exports = [ { entry: "./a.js", output: { filename: "a-[name]-[chunkhash].js" }, ...base }, { entry: "./b.js", output: { filename: "b-[name]-[chunkhash].js" }, ...base }, { entry: "./c.js", output: { filename: "c-[name]-[chunkhash].js" }, ...base } ];