/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/split-chunks/runtime-chunk-node/webpack.config.js
32 строки
550 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; const path = require("path"); /** @type {import("../../../../").Configuration} */ module.exports = { entry: { "deep/path/a": "./a", b: ["./shared?1", "./shared?2", "./b"], "somewhere/c": "./c" }, target: "node", output: { filename: "[name].js" }, optimization: { chunkIds: "named", runtimeChunk: { name: "deep/other/path/runtime" }, splitChunks: { cacheGroups: { dep: { chunks: "initial", minChunks: 2, test: path.resolve(__dirname, "shared.js"), enforce: true } } } } };