/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/script-src/webpack.config.js
33 строки
595 B
Alexander Akait
feat: default experiments.css/html/asyncWebAssembly to "auto" (#21365)
08 июл 2026, 23:22
Не верифицирован
08 июл 2026, 23:22
a3773f5
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { target: ["web", "es2022"], node: { __dirname: false, __filename: false }, externalsPresets: { node: true }, module: { parser: { javascript: { importMeta: false } } }, output: { chunkFilename: "[name].chunk.js" }, optimization: { chunkIds: "named" }, // This case predates css-by-default and asserts on `<script src>` chunking; // keep css off so the built-in CSS pipeline doesn't shift the snapshots. experiments: { html: true, outputModule: true, css: false } };