/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/asset/webpack.config.js
40 строк
599 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 = { mode: "production", entry: "./index.js", module: { rules: [ { test: /\.(png|jpg|svg)$/, type: "asset" }, { test: /\.html$/, type: "asset/resource", generator: { filename: "static/[name][ext]" } }, { test: /\.css$/, type: "asset/inline" }, { test: /\.source\.js$/, type: "asset/source" }, { mimetype: "text/plain", type: "asset" } ] }, optimization: { concatenateModules: false }, output: { filename: "bundle.js" } };