/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/script-src-mixed/webpack.config.js
30 строк
428 B
Alexander Akait
feat: add support for `<script>` and `<link rel=modulepreload>` in HTML modules (#20949)
14 май 2026, 15:01
Не верифицирован
14 май 2026, 15:01
3c1be18
Код
Авторство
О чём код?
"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" }, experiments: { html: true, outputModule: true } };