/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/cjs-tree-shaking/webpack.config.js
31 строка
476 B
Alexander Akait
refactor: examples (#20085)
04 ноя 2025, 18:22
Не верифицирован
04 ноя 2025, 18:22
196e19e
Код
Авторство
О чём код?
"use strict"; /** @type {import("webpack").Configuration[]} */ const config = [ { entry: "./example.js", output: { pathinfo: true, filename: "output.js" }, optimization: { moduleIds: "size", usedExports: true, mangleExports: true } }, { entry: "./example.js", output: { pathinfo: true, filename: "without.js" }, optimization: { moduleIds: "size", usedExports: false, mangleExports: false } } ]; module.exports = config;