/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/module/split-chunks-issue-19657/webpack.config.js
36 строк
619 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../types").Configuration} */ module.exports = { mode: "development", experiments: { outputModule: true }, output: { module: true, chunkFormat: "module", filename: "[name].mjs", chunkFilename: "[name].chunk.mjs" }, devtool: false, optimization: { minimize: false, splitChunks: { chunks: "all", minSize: 0, cacheGroups: { testModule1: { test: /testModule1/, name: "testModule1", priority: 10, enforce: true }, testModule2: { test: /testModule2/, name: "testModule2", priority: 20 } } } } };