/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/code-splitting-depend-on-simple/webpack.config.js
18 строк
414 B
Alexander Akait
refactor: examples (#20085)
04 ноя 2025, 18:22
Не верифицирован
04 ноя 2025, 18:22
196e19e
Код
Авторство
О чём код?
"use strict"; /** @type {import("webpack").Configuration} */ const config = { entry: { app: { import: "./app.js", dependOn: ["react-vendors"] }, "react-vendors": ["react", "react-dom", "prop-types"] }, optimization: { chunkIds: "named" // To keep filename consistent between different modes (for example building only) }, stats: { chunks: true, chunkRelations: true } }; module.exports = config;