/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/split-chunks/runtime-chunk/webpack.config.js
28 строк
428 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: { a: "./a", b: "./b" }, target: "web", output: { filename: "[name].js" }, optimization: { chunkIds: "named", runtimeChunk: "single", splitChunks: { cacheGroups: { dep: { chunks: "all", test: path.resolve(__dirname, "shared.js"), enforce: true } } } } };