/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/node/issue-18409/webpack.config.js
33 строки
535 B
Xiao
fix: fixed GetChunkFilename failure caused by dependOn entry (#19783)
11 авг 2025, 14:52
Не верифицирован
11 авг 2025, 14:52
4fdb0e1
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../types").Configuration} */ module.exports = () => ({ devtool: false, mode: "development", entry: { main: { import: "./index.js", dependOn: "shared" }, shared: "./common.js" }, output: { filename: "[name].js" }, target: ["node"], optimization: { minimize: false, runtimeChunk: "single", splitChunks: { cacheGroups: { separate: { test: /separate/, chunks: "all", enforce: true, filename: "[name].[contenthash].js" } } } } });