/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/hotCases/conditional-runtime/accept-conditional/webpack.config.js
28 строк
400 B
Tobias Koppers
merge multiple import statements with different conditions correctly
27 окт 2020, 08:48
27 окт 2020, 08:48
19f5153
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { optimization: { sideEffects: true, usedExports: true, innerGraph: true, splitChunks: { cacheGroups: { forceMerge: { test: /shared/, enforce: true, name: "shared", chunks: "all" } } } }, module: { rules: [ { test: /dep/, sideEffects: false } ] } };