/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/parser-template-insertion-mode/webpack.config.js
32 строки
536 B
Raj Aryan
test(html): cover parser tree-construction edge cases and generator fallbacks (#21631)
10 авг 2026, 12:16
Не верифицирован
10 авг 2026, 12:16
57f8dcf
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { target: "web", mode: "production", output: { filename: "[name].js", pathinfo: false }, module: { generator: { html: { extract: true } }, parser: { html: { sources: false } } }, optimization: { minimize: true, // `"..."` keeps the default minimizer, which re-serializes the page from // the parsed tree — the only place the tree is observable. minimizer: ["..."] }, experiments: { html: true } };