From df6bf01e07d0b8b94eceb21e27ba0078a01c4b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 2 Oct 2021 23:56:18 +0200 Subject: [PATCH] Fix regex issue with newer node versions. --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 02dc6d56..9ad68c37 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -110,7 +110,7 @@ Encore { from: 'node_modules/bootswatch/dist/*/*.min.css', to({ context, absoluteFilename }) { - const regexp = /.*([\/\\])(.+)([\/\\]).*\.css$/; + const regexp = /.*([\/\\])(.+)([\/\\]).*\.css$/g; const array = [...absoluteFilename.matchAll(regexp)]; return 'themes/'+array[0][2]+'[ext]'; }