From 6e8abca43603fad4ec81d059afe18042080b6060 Mon Sep 17 00:00:00 2001 From: Kalin Krustev Date: Thu, 27 May 2021 17:32:50 +0300 Subject: [PATCH] fix: Cannot read property 'pop' of undefined https://github.com/webpack-contrib/mini-css-extract-plugin/issues/257 [UTCORE-121] --- preset.js | 1 + 1 file changed, 1 insertion(+) diff --git a/preset.js b/preset.js index 3a89916..b421cd6 100644 --- a/preset.js +++ b/preset.js @@ -154,6 +154,7 @@ module.exports = ({ ...prev, [chunk]: { test: RegExp(`[\\\\/]node_modules[\\\\/]${chunk}`), + enforce: true, name: chunk, chunks: 'all' }