/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/module/split-chunks/webpack.config.js
32 строки
507 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 = { output: { filename: "[name].mjs", library: { type: "module" } }, target: ["web", "es2020"], experiments: { outputModule: true }, optimization: { minimize: true, runtimeChunk: "single", splitChunks: { cacheGroups: { separate: { test: /separate/, chunks: "all", filename: "separate.mjs", enforce: true } } } }, externals: { "external-self": "./main.mjs" } };