/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/optimization/minimize-javascript-options/index.js
8 строк
371 B
Alexander Akait
feat: configure or exclude each asset type's minifier via optimization.minimize (#21663)
10 авг 2026, 18:37
Не верифицирован
10 авг 2026, 18:37
5a8fa6c
Код
Авторство
О чём код?
/* comment marker the minifier drops */ const importantMarkerValue = "important-marker-value"; it("should hand `optimization.minimize.javascript` to the JS minimizer", () => { // `mangle: false` keeps the name above readable in the emitted bundle; // test.config.js (afterExecute) asserts on the file. expect(importantMarkerValue).toBe("important-marker-value"); });