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