/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/scope-hoisting-multi/webpack.config.js
61 строка
898 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../").Configuration[]} */ module.exports = [ { mode: "production", entry: { first: "./first", second: "./second" }, target: "web", output: { filename: "a-[name].js" }, optimization: { concatenateModules: false, splitChunks: { cacheGroups: { vendor: { test: /vendor/, chunks: "initial", name: "vendor", enforce: true } } } }, stats: { assets: false } }, { mode: "production", entry: { first: "./first", second: "./second" }, target: "web", output: { filename: "b-[name].js" }, optimization: { splitChunks: { cacheGroups: { vendor: { test: /vendor/, chunks: "initial", name: "vendor", enforce: true } } } }, stats: { assets: false, orphanModules: true, optimizationBailout: true } } ];