From df6780d40c40b0f1e1ac925d9e53e2aa33408e4a Mon Sep 17 00:00:00 2001 From: Jochen Klar Date: Sun, 11 Aug 2024 11:05:36 +0200 Subject: [PATCH] Fix regex in webpack config for windows --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index fb05451eab..cc71e803bb 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -69,7 +69,7 @@ const baseConfig = { ] }, { - test: /(fonts|files)\/.*\.(svg|woff2?|ttf|eot|otf)(\?.*)?$/, + test: /(fonts|files)[\\/].*\.(svg|woff2?|ttf|eot|otf)(\?.*)?$/, loader: 'file-loader', type: 'javascript/auto', options: {