/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/limit-chunk-count-plugin/webpack.config.js
25 строк
461 B
Alexander Akait
style: set `arrowParens` to `true` (#19706)
16 июл 2025, 19:13
Не верифицирован
16 июл 2025, 19:13
703d9ac
Код
Авторство
О чём код?
"use strict"; const webpack = require("../../../"); /** @type {import("../../../").Configuration[]} */ module.exports = [1, 2, 3, 4].map((n) => ({ name: `${n} chunks`, mode: "production", entry: "./index", output: { filename: `bundle${n}.js` }, plugins: [ new webpack.optimize.LimitChunkCountPlugin({ maxChunks: n }) ], stats: { chunkModules: true, dependentModules: true, chunkRelations: true, modules: false, chunks: true } }));