/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/exclude-with-loader/webpack.config.js
30 строк
480 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", output: { filename: "bundle.js" }, stats: { excludeModules: ["node_modules", "exclude"], excludeAssets: [/\.json/] }, module: { rules: [ { test: /\.txt/, loader: "raw-loader" }, { test: /\.json/, loader: "file-loader", options: { name: "[sha256:hash:8].[ext]" }, type: "javascript/auto" } ] } };